viem 2.0.0-beta.12 → 2.0.0-beta.13

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 (2107) hide show
  1. package/_cjs/accounts/toAccount.js.map +1 -1
  2. package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
  3. package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
  4. package/_cjs/actions/ens/getEnsName.js.map +1 -1
  5. package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
  6. package/_cjs/actions/ens/getEnsText.js.map +1 -1
  7. package/_cjs/actions/getContract.js.map +1 -1
  8. package/_cjs/actions/public/call.js.map +1 -1
  9. package/_cjs/actions/public/createEventFilter.js.map +1 -1
  10. package/_cjs/actions/public/estimateContractGas.js.map +1 -1
  11. package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
  12. package/_cjs/actions/public/estimateGas.js.map +1 -1
  13. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  14. package/_cjs/actions/public/getBlock.js.map +1 -1
  15. package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
  16. package/_cjs/actions/public/getLogs.js.map +1 -1
  17. package/_cjs/actions/public/getTransaction.js.map +1 -1
  18. package/_cjs/actions/public/multicall.js.map +1 -1
  19. package/_cjs/actions/public/readContract.js.map +1 -1
  20. package/_cjs/actions/public/simulateContract.js.map +1 -1
  21. package/_cjs/actions/public/verifyHash.js.map +1 -1
  22. package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
  23. package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
  24. package/_cjs/actions/public/watchBlocks.js.map +1 -1
  25. package/_cjs/actions/public/watchContractEvent.js.map +1 -1
  26. package/_cjs/actions/public/watchEvent.js.map +1 -1
  27. package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
  28. package/_cjs/actions/test/setAutomine.js.map +1 -1
  29. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  30. package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
  31. package/_cjs/chains/celo/formatters.js.map +1 -1
  32. package/_cjs/chains/celo/parsers.js.map +1 -1
  33. package/_cjs/chains/celo/serializers.js.map +1 -1
  34. package/_cjs/chains/celo/utils.js.map +1 -1
  35. package/_cjs/chains/opStack/actions/estimateContractL1Fee.js.map +1 -1
  36. package/_cjs/chains/opStack/actions/estimateContractL1Gas.js.map +1 -1
  37. package/_cjs/chains/opStack/actions/estimateContractTotalFee.js.map +1 -1
  38. package/_cjs/chains/opStack/actions/estimateContractTotalGas.js.map +1 -1
  39. package/_cjs/chains/opStack/formatters.js.map +1 -1
  40. package/_cjs/chains/zksync/serializers.js.map +1 -1
  41. package/_cjs/clients/transports/fallback.js.map +1 -1
  42. package/_cjs/clients/transports/webSocket.js.map +1 -1
  43. package/_cjs/errors/contract.js.map +1 -1
  44. package/_cjs/errors/node.js +11 -11
  45. package/_cjs/errors/node.js.map +1 -1
  46. package/_cjs/errors/rpc.js +18 -18
  47. package/_cjs/errors/rpc.js.map +1 -1
  48. package/_cjs/errors/version.js +1 -1
  49. package/_cjs/package.json +1 -0
  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/_esm/accounts/generateMnemonic.js +12 -0
  102. package/_esm/accounts/generateMnemonic.js.map +1 -0
  103. package/_esm/accounts/generatePrivateKey.js +11 -0
  104. package/_esm/accounts/generatePrivateKey.js.map +1 -0
  105. package/_esm/accounts/hdKeyToAccount.js +17 -0
  106. package/_esm/accounts/hdKeyToAccount.js.map +1 -0
  107. package/_esm/accounts/index.js +25 -0
  108. package/_esm/accounts/index.js.map +1 -0
  109. package/_esm/accounts/mnemonicToAccount.js +13 -0
  110. package/_esm/accounts/mnemonicToAccount.js.map +1 -0
  111. package/_esm/accounts/privateKeyToAccount.js +34 -0
  112. package/_esm/accounts/privateKeyToAccount.js.map +1 -0
  113. package/_esm/accounts/toAccount.js +28 -0
  114. package/_esm/accounts/toAccount.js.map +1 -0
  115. package/_esm/accounts/types.js +2 -0
  116. package/_esm/accounts/types.js.map +1 -0
  117. package/_esm/accounts/utils/parseAccount.js +6 -0
  118. package/_esm/accounts/utils/parseAccount.js.map +1 -0
  119. package/_esm/accounts/utils/privateKeyToAddress.js +15 -0
  120. package/_esm/accounts/utils/privateKeyToAddress.js.map +1 -0
  121. package/_esm/accounts/utils/publicKeyToAddress.js +14 -0
  122. package/_esm/accounts/utils/publicKeyToAddress.js.map +1 -0
  123. package/_esm/accounts/utils/sign.js +19 -0
  124. package/_esm/accounts/utils/sign.js.map +1 -0
  125. package/_esm/accounts/utils/signMessage.js +14 -0
  126. package/_esm/accounts/utils/signMessage.js.map +1 -0
  127. package/_esm/accounts/utils/signTransaction.js +11 -0
  128. package/_esm/accounts/utils/signTransaction.js.map +1 -0
  129. package/_esm/accounts/utils/signTypedData.js +18 -0
  130. package/_esm/accounts/utils/signTypedData.js.map +1 -0
  131. package/_esm/actions/ens/getEnsAddress.js +87 -0
  132. package/_esm/actions/ens/getEnsAddress.js.map +1 -0
  133. package/_esm/actions/ens/getEnsAvatar.js +49 -0
  134. package/_esm/actions/ens/getEnsAvatar.js.map +1 -0
  135. package/_esm/actions/ens/getEnsName.js +63 -0
  136. package/_esm/actions/ens/getEnsName.js.map +1 -0
  137. package/_esm/actions/ens/getEnsResolver.js +63 -0
  138. package/_esm/actions/ens/getEnsResolver.js.map +1 -0
  139. package/_esm/actions/ens/getEnsText.js +82 -0
  140. package/_esm/actions/ens/getEnsText.js.map +1 -0
  141. package/_esm/actions/getContract.js +214 -0
  142. package/_esm/actions/getContract.js.map +1 -0
  143. package/_esm/actions/index.js +82 -0
  144. package/_esm/actions/index.js.map +1 -0
  145. package/_esm/actions/public/call.js +182 -0
  146. package/_esm/actions/public/call.js.map +1 -0
  147. package/_esm/actions/public/createBlockFilter.js +32 -0
  148. package/_esm/actions/public/createBlockFilter.js.map +1 -0
  149. package/_esm/actions/public/createContractEventFilter.js +59 -0
  150. package/_esm/actions/public/createContractEventFilter.js.map +1 -0
  151. package/_esm/actions/public/createEventFilter.js +67 -0
  152. package/_esm/actions/public/createEventFilter.js.map +1 -0
  153. package/_esm/actions/public/createPendingTransactionFilter.js +32 -0
  154. package/_esm/actions/public/createPendingTransactionFilter.js.map +1 -0
  155. package/_esm/actions/public/estimateContractGas.js +60 -0
  156. package/_esm/actions/public/estimateContractGas.js.map +1 -0
  157. package/_esm/actions/public/estimateFeesPerGas.js +83 -0
  158. package/_esm/actions/public/estimateFeesPerGas.js.map +1 -0
  159. package/_esm/actions/public/estimateGas.js +73 -0
  160. package/_esm/actions/public/estimateGas.js.map +1 -0
  161. package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +67 -0
  162. package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -0
  163. package/_esm/actions/public/getBalance.js +45 -0
  164. package/_esm/actions/public/getBalance.js.map +1 -0
  165. package/_esm/actions/public/getBlock.js +50 -0
  166. package/_esm/actions/public/getBlock.js.map +1 -0
  167. package/_esm/actions/public/getBlockNumber.js +35 -0
  168. package/_esm/actions/public/getBlockNumber.js.map +1 -0
  169. package/_esm/actions/public/getBlockTransactionCount.js +43 -0
  170. package/_esm/actions/public/getBlockTransactionCount.js.map +1 -0
  171. package/_esm/actions/public/getBytecode.js +35 -0
  172. package/_esm/actions/public/getBytecode.js.map +1 -0
  173. package/_esm/actions/public/getChainId.js +29 -0
  174. package/_esm/actions/public/getChainId.js.map +1 -0
  175. package/_esm/actions/public/getContractEvents.js +49 -0
  176. package/_esm/actions/public/getContractEvents.js.map +1 -0
  177. package/_esm/actions/public/getFeeHistory.js +39 -0
  178. package/_esm/actions/public/getFeeHistory.js.map +1 -0
  179. package/_esm/actions/public/getFilterChanges.js +102 -0
  180. package/_esm/actions/public/getFilterChanges.js.map +1 -0
  181. package/_esm/actions/public/getFilterLogs.js +45 -0
  182. package/_esm/actions/public/getFilterLogs.js.map +1 -0
  183. package/_esm/actions/public/getGasPrice.js +27 -0
  184. package/_esm/actions/public/getGasPrice.js.map +1 -0
  185. package/_esm/actions/public/getLogs.js +71 -0
  186. package/_esm/actions/public/getLogs.js.map +1 -0
  187. package/_esm/actions/public/getProof.js +37 -0
  188. package/_esm/actions/public/getProof.js.map +1 -0
  189. package/_esm/actions/public/getStorageAt.js +34 -0
  190. package/_esm/actions/public/getStorageAt.js.map +1 -0
  191. package/_esm/actions/public/getTransaction.js +61 -0
  192. package/_esm/actions/public/getTransaction.js.map +1 -0
  193. package/_esm/actions/public/getTransactionConfirmations.js +40 -0
  194. package/_esm/actions/public/getTransactionConfirmations.js.map +1 -0
  195. package/_esm/actions/public/getTransactionCount.js +33 -0
  196. package/_esm/actions/public/getTransactionCount.js.map +1 -0
  197. package/_esm/actions/public/getTransactionReceipt.js +38 -0
  198. package/_esm/actions/public/getTransactionReceipt.js.map +1 -0
  199. package/_esm/actions/public/multicall.js +182 -0
  200. package/_esm/actions/public/multicall.js.map +1 -0
  201. package/_esm/actions/public/readContract.js +67 -0
  202. package/_esm/actions/public/readContract.js.map +1 -0
  203. package/_esm/actions/public/simulateContract.js +83 -0
  204. package/_esm/actions/public/simulateContract.js.map +1 -0
  205. package/_esm/actions/public/uninstallFilter.js +31 -0
  206. package/_esm/actions/public/uninstallFilter.js.map +1 -0
  207. package/_esm/actions/public/verifyHash.js +38 -0
  208. package/_esm/actions/public/verifyHash.js.map +1 -0
  209. package/_esm/actions/public/verifyMessage.js +23 -0
  210. package/_esm/actions/public/verifyMessage.js.map +1 -0
  211. package/_esm/actions/public/verifyTypedData.js +21 -0
  212. package/_esm/actions/public/verifyTypedData.js.map +1 -0
  213. package/_esm/actions/public/waitForTransactionReceipt.js +180 -0
  214. package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -0
  215. package/_esm/actions/public/watchBlockNumber.js +105 -0
  216. package/_esm/actions/public/watchBlockNumber.js.map +1 -0
  217. package/_esm/actions/public/watchBlocks.js +120 -0
  218. package/_esm/actions/public/watchBlocks.js.map +1 -0
  219. package/_esm/actions/public/watchContractEvent.js +199 -0
  220. package/_esm/actions/public/watchContractEvent.js.map +1 -0
  221. package/_esm/actions/public/watchEvent.js +200 -0
  222. package/_esm/actions/public/watchEvent.js.map +1 -0
  223. package/_esm/actions/public/watchPendingTransactions.js +114 -0
  224. package/_esm/actions/public/watchPendingTransactions.js.map +1 -0
  225. package/_esm/actions/test/dropTransaction.js +29 -0
  226. package/_esm/actions/test/dropTransaction.js.map +1 -0
  227. package/_esm/actions/test/dumpState.js +26 -0
  228. package/_esm/actions/test/dumpState.js.map +1 -0
  229. package/_esm/actions/test/getAutomine.js +30 -0
  230. package/_esm/actions/test/getAutomine.js.map +1 -0
  231. package/_esm/actions/test/getTxpoolContent.js +26 -0
  232. package/_esm/actions/test/getTxpoolContent.js.map +1 -0
  233. package/_esm/actions/test/getTxpoolStatus.js +31 -0
  234. package/_esm/actions/test/getTxpoolStatus.js.map +1 -0
  235. package/_esm/actions/test/impersonateAccount.js +29 -0
  236. package/_esm/actions/test/impersonateAccount.js.map +1 -0
  237. package/_esm/actions/test/increaseTime.js +30 -0
  238. package/_esm/actions/test/increaseTime.js.map +1 -0
  239. package/_esm/actions/test/inspectTxpool.js +26 -0
  240. package/_esm/actions/test/inspectTxpool.js.map +1 -0
  241. package/_esm/actions/test/loadState.js +27 -0
  242. package/_esm/actions/test/loadState.js.map +1 -0
  243. package/_esm/actions/test/mine.js +34 -0
  244. package/_esm/actions/test/mine.js.map +1 -0
  245. package/_esm/actions/test/removeBlockTimestampInterval.js +25 -0
  246. package/_esm/actions/test/removeBlockTimestampInterval.js.map +1 -0
  247. package/_esm/actions/test/reset.js +27 -0
  248. package/_esm/actions/test/reset.js.map +1 -0
  249. package/_esm/actions/test/revert.js +27 -0
  250. package/_esm/actions/test/revert.js.map +1 -0
  251. package/_esm/actions/test/sendUnsignedTransaction.js +52 -0
  252. package/_esm/actions/test/sendUnsignedTransaction.js.map +1 -0
  253. package/_esm/actions/test/setAutomine.js +33 -0
  254. package/_esm/actions/test/setAutomine.js.map +1 -0
  255. package/_esm/actions/test/setBalance.js +37 -0
  256. package/_esm/actions/test/setBalance.js.map +1 -0
  257. package/_esm/actions/test/setBlockGasLimit.js +28 -0
  258. package/_esm/actions/test/setBlockGasLimit.js.map +1 -0
  259. package/_esm/actions/test/setBlockTimestampInterval.js +32 -0
  260. package/_esm/actions/test/setBlockTimestampInterval.js.map +1 -0
  261. package/_esm/actions/test/setCode.js +30 -0
  262. package/_esm/actions/test/setCode.js.map +1 -0
  263. package/_esm/actions/test/setCoinbase.js +29 -0
  264. package/_esm/actions/test/setCoinbase.js.map +1 -0
  265. package/_esm/actions/test/setIntervalMining.js +32 -0
  266. package/_esm/actions/test/setIntervalMining.js.map +1 -0
  267. package/_esm/actions/test/setLoggingEnabled.js +26 -0
  268. package/_esm/actions/test/setLoggingEnabled.js.map +1 -0
  269. package/_esm/actions/test/setMinGasPrice.js +32 -0
  270. package/_esm/actions/test/setMinGasPrice.js.map +1 -0
  271. package/_esm/actions/test/setNextBlockBaseFeePerGas.js +30 -0
  272. package/_esm/actions/test/setNextBlockBaseFeePerGas.js.map +1 -0
  273. package/_esm/actions/test/setNextBlockTimestamp.js +28 -0
  274. package/_esm/actions/test/setNextBlockTimestamp.js.map +1 -0
  275. package/_esm/actions/test/setNonce.js +31 -0
  276. package/_esm/actions/test/setNonce.js.map +1 -0
  277. package/_esm/actions/test/setRpcUrl.js +27 -0
  278. package/_esm/actions/test/setRpcUrl.js.map +1 -0
  279. package/_esm/actions/test/setStorageAt.js +36 -0
  280. package/_esm/actions/test/setStorageAt.js.map +1 -0
  281. package/_esm/actions/test/snapshot.js +25 -0
  282. package/_esm/actions/test/snapshot.js.map +1 -0
  283. package/_esm/actions/test/stopImpersonatingAccount.js +29 -0
  284. package/_esm/actions/test/stopImpersonatingAccount.js.map +1 -0
  285. package/_esm/actions/wallet/addChain.js +38 -0
  286. package/_esm/actions/wallet/addChain.js.map +1 -0
  287. package/_esm/actions/wallet/deployContract.js +38 -0
  288. package/_esm/actions/wallet/deployContract.js.map +1 -0
  289. package/_esm/actions/wallet/getAddresses.js +28 -0
  290. package/_esm/actions/wallet/getAddresses.js.map +1 -0
  291. package/_esm/actions/wallet/getPermissions.js +25 -0
  292. package/_esm/actions/wallet/getPermissions.js.map +1 -0
  293. package/_esm/actions/wallet/prepareTransactionRequest.js +114 -0
  294. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -0
  295. package/_esm/actions/wallet/requestAddresses.js +30 -0
  296. package/_esm/actions/wallet/requestAddresses.js.map +1 -0
  297. package/_esm/actions/wallet/requestPermissions.js +30 -0
  298. package/_esm/actions/wallet/requestPermissions.js.map +1 -0
  299. package/_esm/actions/wallet/sendRawTransaction.js +31 -0
  300. package/_esm/actions/wallet/sendRawTransaction.js.map +1 -0
  301. package/_esm/actions/wallet/sendTransaction.js +130 -0
  302. package/_esm/actions/wallet/sendTransaction.js.map +1 -0
  303. package/_esm/actions/wallet/signMessage.js +70 -0
  304. package/_esm/actions/wallet/signMessage.js.map +1 -0
  305. package/_esm/actions/wallet/signTransaction.js +88 -0
  306. package/_esm/actions/wallet/signTransaction.js.map +1 -0
  307. package/_esm/actions/wallet/signTypedData.js +126 -0
  308. package/_esm/actions/wallet/signTypedData.js.map +1 -0
  309. package/_esm/actions/wallet/switchChain.js +32 -0
  310. package/_esm/actions/wallet/switchChain.js.map +1 -0
  311. package/_esm/actions/wallet/watchAsset.js +36 -0
  312. package/_esm/actions/wallet/watchAsset.js.map +1 -0
  313. package/_esm/actions/wallet/writeContract.js +67 -0
  314. package/_esm/actions/wallet/writeContract.js.map +1 -0
  315. package/_esm/chains/celo/chainConfig.js +7 -0
  316. package/_esm/chains/celo/chainConfig.js.map +1 -0
  317. package/_esm/chains/celo/formatters.js +80 -0
  318. package/_esm/chains/celo/formatters.js.map +1 -0
  319. package/_esm/chains/celo/index.js +4 -0
  320. package/_esm/chains/celo/index.js.map +1 -0
  321. package/_esm/chains/celo/parsers.js +127 -0
  322. package/_esm/chains/celo/parsers.js.map +1 -0
  323. package/_esm/chains/celo/serializers.js +127 -0
  324. package/_esm/chains/celo/serializers.js.map +1 -0
  325. package/_esm/chains/celo/types.js +2 -0
  326. package/_esm/chains/celo/types.js.map +1 -0
  327. package/_esm/chains/celo/utils.js +50 -0
  328. package/_esm/chains/celo/utils.js.map +1 -0
  329. package/_esm/chains/definitions/arbitrum.js +21 -0
  330. package/_esm/chains/definitions/arbitrum.js.map +1 -0
  331. package/_esm/chains/definitions/arbitrumGoerli.js +27 -0
  332. package/_esm/chains/definitions/arbitrumGoerli.js.map +1 -0
  333. package/_esm/chains/definitions/arbitrumNova.js +21 -0
  334. package/_esm/chains/definitions/arbitrumNova.js.map +1 -0
  335. package/_esm/chains/definitions/arbitrumSepolia.js +29 -0
  336. package/_esm/chains/definitions/arbitrumSepolia.js.map +1 -0
  337. package/_esm/chains/definitions/astar.js +26 -0
  338. package/_esm/chains/definitions/astar.js.map +1 -0
  339. package/_esm/chains/definitions/astarZkatana.js +39 -0
  340. package/_esm/chains/definitions/astarZkatana.js.map +1 -0
  341. package/_esm/chains/definitions/aurora.js +23 -0
  342. package/_esm/chains/definitions/aurora.js.map +1 -0
  343. package/_esm/chains/definitions/auroraTestnet.js +18 -0
  344. package/_esm/chains/definitions/auroraTestnet.js.map +1 -0
  345. package/_esm/chains/definitions/avalanche.js +23 -0
  346. package/_esm/chains/definitions/avalanche.js.map +1 -0
  347. package/_esm/chains/definitions/avalancheFuji.js +24 -0
  348. package/_esm/chains/definitions/avalancheFuji.js.map +1 -0
  349. package/_esm/chains/definitions/base.js +35 -0
  350. package/_esm/chains/definitions/base.js.map +1 -0
  351. package/_esm/chains/definitions/baseGoerli.js +33 -0
  352. package/_esm/chains/definitions/baseGoerli.js.map +1 -0
  353. package/_esm/chains/definitions/baseSepolia.js +40 -0
  354. package/_esm/chains/definitions/baseSepolia.js.map +1 -0
  355. package/_esm/chains/definitions/bearNetworkChainMainnet.js +17 -0
  356. package/_esm/chains/definitions/bearNetworkChainMainnet.js.map +1 -0
  357. package/_esm/chains/definitions/bearNetworkChainTestnet.js +21 -0
  358. package/_esm/chains/definitions/bearNetworkChainTestnet.js.map +1 -0
  359. package/_esm/chains/definitions/boba.js +23 -0
  360. package/_esm/chains/definitions/boba.js.map +1 -0
  361. package/_esm/chains/definitions/bronos.js +17 -0
  362. package/_esm/chains/definitions/bronos.js.map +1 -0
  363. package/_esm/chains/definitions/bronosTestnet.js +18 -0
  364. package/_esm/chains/definitions/bronosTestnet.js.map +1 -0
  365. package/_esm/chains/definitions/bsc.js +23 -0
  366. package/_esm/chains/definitions/bsc.js.map +1 -0
  367. package/_esm/chains/definitions/bscTestnet.js +25 -0
  368. package/_esm/chains/definitions/bscTestnet.js.map +1 -0
  369. package/_esm/chains/definitions/bxn.js +18 -0
  370. package/_esm/chains/definitions/bxn.js.map +1 -0
  371. package/_esm/chains/definitions/bxnTestnet.js +22 -0
  372. package/_esm/chains/definitions/bxnTestnet.js.map +1 -0
  373. package/_esm/chains/definitions/canto.js +26 -0
  374. package/_esm/chains/definitions/canto.js.map +1 -0
  375. package/_esm/chains/definitions/celo.js +29 -0
  376. package/_esm/chains/definitions/celo.js.map +1 -0
  377. package/_esm/chains/definitions/celoAlfajores.js +31 -0
  378. package/_esm/chains/definitions/celoAlfajores.js.map +1 -0
  379. package/_esm/chains/definitions/celoCannoli.js +31 -0
  380. package/_esm/chains/definitions/celoCannoli.js.map +1 -0
  381. package/_esm/chains/definitions/chiliz.js +23 -0
  382. package/_esm/chains/definitions/chiliz.js.map +1 -0
  383. package/_esm/chains/definitions/classic.js +20 -0
  384. package/_esm/chains/definitions/classic.js.map +1 -0
  385. package/_esm/chains/definitions/confluxESpace.js +25 -0
  386. package/_esm/chains/definitions/confluxESpace.js.map +1 -0
  387. package/_esm/chains/definitions/confluxESpaceTestnet.js +31 -0
  388. package/_esm/chains/definitions/confluxESpaceTestnet.js.map +1 -0
  389. package/_esm/chains/definitions/coreDao.js +24 -0
  390. package/_esm/chains/definitions/coreDao.js.map +1 -0
  391. package/_esm/chains/definitions/cronos.js +23 -0
  392. package/_esm/chains/definitions/cronos.js.map +1 -0
  393. package/_esm/chains/definitions/cronosTestnet.js +27 -0
  394. package/_esm/chains/definitions/cronosTestnet.js.map +1 -0
  395. package/_esm/chains/definitions/crossbell.js +25 -0
  396. package/_esm/chains/definitions/crossbell.js.map +1 -0
  397. package/_esm/chains/definitions/dfk.js +22 -0
  398. package/_esm/chains/definitions/dfk.js.map +1 -0
  399. package/_esm/chains/definitions/dogechain.js +20 -0
  400. package/_esm/chains/definitions/dogechain.js.map +1 -0
  401. package/_esm/chains/definitions/edgeware.js +23 -0
  402. package/_esm/chains/definitions/edgeware.js.map +1 -0
  403. package/_esm/chains/definitions/edgewareTestnet.js +20 -0
  404. package/_esm/chains/definitions/edgewareTestnet.js.map +1 -0
  405. package/_esm/chains/definitions/ekta.js +17 -0
  406. package/_esm/chains/definitions/ekta.js.map +1 -0
  407. package/_esm/chains/definitions/ektaTestnet.js +18 -0
  408. package/_esm/chains/definitions/ektaTestnet.js.map +1 -0
  409. package/_esm/chains/definitions/eon.js +21 -0
  410. package/_esm/chains/definitions/eon.js.map +1 -0
  411. package/_esm/chains/definitions/eos.js +26 -0
  412. package/_esm/chains/definitions/eos.js.map +1 -0
  413. package/_esm/chains/definitions/eosTestnet.js +27 -0
  414. package/_esm/chains/definitions/eosTestnet.js.map +1 -0
  415. package/_esm/chains/definitions/evmos.js +17 -0
  416. package/_esm/chains/definitions/evmos.js.map +1 -0
  417. package/_esm/chains/definitions/evmosTestnet.js +20 -0
  418. package/_esm/chains/definitions/evmosTestnet.js.map +1 -0
  419. package/_esm/chains/definitions/fantom.js +23 -0
  420. package/_esm/chains/definitions/fantom.js.map +1 -0
  421. package/_esm/chains/definitions/fantomTestnet.js +23 -0
  422. package/_esm/chains/definitions/fantomTestnet.js.map +1 -0
  423. package/_esm/chains/definitions/fibo.js +17 -0
  424. package/_esm/chains/definitions/fibo.js.map +1 -0
  425. package/_esm/chains/definitions/filecoin.js +23 -0
  426. package/_esm/chains/definitions/filecoin.js.map +1 -0
  427. package/_esm/chains/definitions/filecoinCalibration.js +17 -0
  428. package/_esm/chains/definitions/filecoinCalibration.js.map +1 -0
  429. package/_esm/chains/definitions/filecoinHyperspace.js +17 -0
  430. package/_esm/chains/definitions/filecoinHyperspace.js.map +1 -0
  431. package/_esm/chains/definitions/flare.js +20 -0
  432. package/_esm/chains/definitions/flare.js.map +1 -0
  433. package/_esm/chains/definitions/flareTestnet.js +21 -0
  434. package/_esm/chains/definitions/flareTestnet.js.map +1 -0
  435. package/_esm/chains/definitions/foundry.js +17 -0
  436. package/_esm/chains/definitions/foundry.js.map +1 -0
  437. package/_esm/chains/definitions/fuse.js +19 -0
  438. package/_esm/chains/definitions/fuse.js.map +1 -0
  439. package/_esm/chains/definitions/fuseSparknet.js +16 -0
  440. package/_esm/chains/definitions/fuseSparknet.js.map +1 -0
  441. package/_esm/chains/definitions/gnosis.js +29 -0
  442. package/_esm/chains/definitions/gnosis.js.map +1 -0
  443. package/_esm/chains/definitions/gnosisChiado.js +30 -0
  444. package/_esm/chains/definitions/gnosisChiado.js.map +1 -0
  445. package/_esm/chains/definitions/gobi.js +19 -0
  446. package/_esm/chains/definitions/gobi.js.map +1 -0
  447. package/_esm/chains/definitions/goerli.js +32 -0
  448. package/_esm/chains/definitions/goerli.js.map +1 -0
  449. package/_esm/chains/definitions/haqqMainnet.js +22 -0
  450. package/_esm/chains/definitions/haqqMainnet.js.map +1 -0
  451. package/_esm/chains/definitions/haqqTestedge2.js +22 -0
  452. package/_esm/chains/definitions/haqqTestedge2.js.map +1 -0
  453. package/_esm/chains/definitions/hardhat.js +14 -0
  454. package/_esm/chains/definitions/hardhat.js.map +1 -0
  455. package/_esm/chains/definitions/harmonyOne.js +23 -0
  456. package/_esm/chains/definitions/harmonyOne.js.map +1 -0
  457. package/_esm/chains/definitions/holesky.js +19 -0
  458. package/_esm/chains/definitions/holesky.js.map +1 -0
  459. package/_esm/chains/definitions/iotex.js +20 -0
  460. package/_esm/chains/definitions/iotex.js.map +1 -0
  461. package/_esm/chains/definitions/iotexTestnet.js +20 -0
  462. package/_esm/chains/definitions/iotexTestnet.js.map +1 -0
  463. package/_esm/chains/definitions/kava.js +26 -0
  464. package/_esm/chains/definitions/kava.js.map +1 -0
  465. package/_esm/chains/definitions/kavaTestnet.js +29 -0
  466. package/_esm/chains/definitions/kavaTestnet.js.map +1 -0
  467. package/_esm/chains/definitions/klaytn.js +23 -0
  468. package/_esm/chains/definitions/klaytn.js.map +1 -0
  469. package/_esm/chains/definitions/klaytnBaobab.js +27 -0
  470. package/_esm/chains/definitions/klaytnBaobab.js.map +1 -0
  471. package/_esm/chains/definitions/kroma.js +19 -0
  472. package/_esm/chains/definitions/kroma.js.map +1 -0
  473. package/_esm/chains/definitions/kromaSepolia.js +19 -0
  474. package/_esm/chains/definitions/kromaSepolia.js.map +1 -0
  475. package/_esm/chains/definitions/linea.js +26 -0
  476. package/_esm/chains/definitions/linea.js.map +1 -0
  477. package/_esm/chains/definitions/lineaTestnet.js +26 -0
  478. package/_esm/chains/definitions/lineaTestnet.js.map +1 -0
  479. package/_esm/chains/definitions/localhost.js +14 -0
  480. package/_esm/chains/definitions/localhost.js.map +1 -0
  481. package/_esm/chains/definitions/lukso.js +28 -0
  482. package/_esm/chains/definitions/lukso.js.map +1 -0
  483. package/_esm/chains/definitions/mainnet.js +31 -0
  484. package/_esm/chains/definitions/mainnet.js.map +1 -0
  485. package/_esm/chains/definitions/manta.js +32 -0
  486. package/_esm/chains/definitions/manta.js.map +1 -0
  487. package/_esm/chains/definitions/mantaTestnet.js +33 -0
  488. package/_esm/chains/definitions/mantaTestnet.js.map +1 -0
  489. package/_esm/chains/definitions/mantle.js +26 -0
  490. package/_esm/chains/definitions/mantle.js.map +1 -0
  491. package/_esm/chains/definitions/mantleTestnet.js +21 -0
  492. package/_esm/chains/definitions/mantleTestnet.js.map +1 -0
  493. package/_esm/chains/definitions/meter.js +17 -0
  494. package/_esm/chains/definitions/meter.js.map +1 -0
  495. package/_esm/chains/definitions/meterTestnet.js +20 -0
  496. package/_esm/chains/definitions/meterTestnet.js.map +1 -0
  497. package/_esm/chains/definitions/metis.js +26 -0
  498. package/_esm/chains/definitions/metis.js.map +1 -0
  499. package/_esm/chains/definitions/metisGoerli.js +26 -0
  500. package/_esm/chains/definitions/metisGoerli.js.map +1 -0
  501. package/_esm/chains/definitions/mev.js +28 -0
  502. package/_esm/chains/definitions/mev.js.map +1 -0
  503. package/_esm/chains/definitions/mevTestnet.js +29 -0
  504. package/_esm/chains/definitions/mevTestnet.js.map +1 -0
  505. package/_esm/chains/definitions/modeTestnet.js +25 -0
  506. package/_esm/chains/definitions/modeTestnet.js.map +1 -0
  507. package/_esm/chains/definitions/moonbaseAlpha.js +30 -0
  508. package/_esm/chains/definitions/moonbaseAlpha.js.map +1 -0
  509. package/_esm/chains/definitions/moonbeam.js +30 -0
  510. package/_esm/chains/definitions/moonbeam.js.map +1 -0
  511. package/_esm/chains/definitions/moonbeamDev.js +17 -0
  512. package/_esm/chains/definitions/moonbeamDev.js.map +1 -0
  513. package/_esm/chains/definitions/moonriver.js +30 -0
  514. package/_esm/chains/definitions/moonriver.js.map +1 -0
  515. package/_esm/chains/definitions/neonDevnet.js +25 -0
  516. package/_esm/chains/definitions/neonDevnet.js.map +1 -0
  517. package/_esm/chains/definitions/neonMainnet.js +24 -0
  518. package/_esm/chains/definitions/neonMainnet.js.map +1 -0
  519. package/_esm/chains/definitions/nexi.js +24 -0
  520. package/_esm/chains/definitions/nexi.js.map +1 -0
  521. package/_esm/chains/definitions/nexilix.js +23 -0
  522. package/_esm/chains/definitions/nexilix.js.map +1 -0
  523. package/_esm/chains/definitions/oasys.js +18 -0
  524. package/_esm/chains/definitions/oasys.js.map +1 -0
  525. package/_esm/chains/definitions/okc.js +23 -0
  526. package/_esm/chains/definitions/okc.js.map +1 -0
  527. package/_esm/chains/definitions/opBNB.js +23 -0
  528. package/_esm/chains/definitions/opBNB.js.map +1 -0
  529. package/_esm/chains/definitions/opBNBTestnet.js +24 -0
  530. package/_esm/chains/definitions/opBNBTestnet.js.map +1 -0
  531. package/_esm/chains/definitions/optimism.js +34 -0
  532. package/_esm/chains/definitions/optimism.js.map +1 -0
  533. package/_esm/chains/definitions/optimismGoerli.js +35 -0
  534. package/_esm/chains/definitions/optimismGoerli.js.map +1 -0
  535. package/_esm/chains/definitions/optimismSepolia.js +35 -0
  536. package/_esm/chains/definitions/optimismSepolia.js.map +1 -0
  537. package/_esm/chains/definitions/pgn.js +34 -0
  538. package/_esm/chains/definitions/pgn.js.map +1 -0
  539. package/_esm/chains/definitions/pgnTestnet.js +35 -0
  540. package/_esm/chains/definitions/pgnTestnet.js.map +1 -0
  541. package/_esm/chains/definitions/plinga.js +24 -0
  542. package/_esm/chains/definitions/plinga.js.map +1 -0
  543. package/_esm/chains/definitions/polygon.js +24 -0
  544. package/_esm/chains/definitions/polygon.js.map +1 -0
  545. package/_esm/chains/definitions/polygonMumbai.js +25 -0
  546. package/_esm/chains/definitions/polygonMumbai.js.map +1 -0
  547. package/_esm/chains/definitions/polygonZkEvm.js +24 -0
  548. package/_esm/chains/definitions/polygonZkEvm.js.map +1 -0
  549. package/_esm/chains/definitions/polygonZkEvmTestnet.js +25 -0
  550. package/_esm/chains/definitions/polygonZkEvmTestnet.js.map +1 -0
  551. package/_esm/chains/definitions/pulsechain.js +29 -0
  552. package/_esm/chains/definitions/pulsechain.js.map +1 -0
  553. package/_esm/chains/definitions/pulsechainV4.js +29 -0
  554. package/_esm/chains/definitions/pulsechainV4.js.map +1 -0
  555. package/_esm/chains/definitions/qMainnet.js +20 -0
  556. package/_esm/chains/definitions/qMainnet.js.map +1 -0
  557. package/_esm/chains/definitions/qTestnet.js +21 -0
  558. package/_esm/chains/definitions/qTestnet.js.map +1 -0
  559. package/_esm/chains/definitions/rollux.js +26 -0
  560. package/_esm/chains/definitions/rollux.js.map +1 -0
  561. package/_esm/chains/definitions/rolluxTestnet.js +29 -0
  562. package/_esm/chains/definitions/rolluxTestnet.js.map +1 -0
  563. package/_esm/chains/definitions/ronin.js +21 -0
  564. package/_esm/chains/definitions/ronin.js.map +1 -0
  565. package/_esm/chains/definitions/rootstock.js +26 -0
  566. package/_esm/chains/definitions/rootstock.js.map +1 -0
  567. package/_esm/chains/definitions/saigon.js +25 -0
  568. package/_esm/chains/definitions/saigon.js.map +1 -0
  569. package/_esm/chains/definitions/sapphire.js +30 -0
  570. package/_esm/chains/definitions/sapphire.js.map +1 -0
  571. package/_esm/chains/definitions/sapphireTestnet.js +25 -0
  572. package/_esm/chains/definitions/sapphireTestnet.js.map +1 -0
  573. package/_esm/chains/definitions/scroll.js +26 -0
  574. package/_esm/chains/definitions/scroll.js.map +1 -0
  575. package/_esm/chains/definitions/scrollSepolia.js +25 -0
  576. package/_esm/chains/definitions/scrollSepolia.js.map +1 -0
  577. package/_esm/chains/definitions/scrollTestnet.js +20 -0
  578. package/_esm/chains/definitions/scrollTestnet.js.map +1 -0
  579. package/_esm/chains/definitions/sepolia.js +30 -0
  580. package/_esm/chains/definitions/sepolia.js.map +1 -0
  581. package/_esm/chains/definitions/shardeumSphinx.js +19 -0
  582. package/_esm/chains/definitions/shardeumSphinx.js.map +1 -0
  583. package/_esm/chains/definitions/shibarium.js +32 -0
  584. package/_esm/chains/definitions/shibarium.js.map +1 -0
  585. package/_esm/chains/definitions/shimmer.js +26 -0
  586. package/_esm/chains/definitions/shimmer.js.map +1 -0
  587. package/_esm/chains/definitions/shimmerTestnet.js +27 -0
  588. package/_esm/chains/definitions/shimmerTestnet.js.map +1 -0
  589. package/_esm/chains/definitions/skale/brawl.js +20 -0
  590. package/_esm/chains/definitions/skale/brawl.js.map +1 -0
  591. package/_esm/chains/definitions/skale/calypso.js +27 -0
  592. package/_esm/chains/definitions/skale/calypso.js.map +1 -0
  593. package/_esm/chains/definitions/skale/calypsoTestnet.js +30 -0
  594. package/_esm/chains/definitions/skale/calypsoTestnet.js.map +1 -0
  595. package/_esm/chains/definitions/skale/chaosTestnet.js +30 -0
  596. package/_esm/chains/definitions/skale/chaosTestnet.js.map +1 -0
  597. package/_esm/chains/definitions/skale/cryptoBlades.js +22 -0
  598. package/_esm/chains/definitions/skale/cryptoBlades.js.map +1 -0
  599. package/_esm/chains/definitions/skale/cryptoColosseum.js +20 -0
  600. package/_esm/chains/definitions/skale/cryptoColosseum.js.map +1 -0
  601. package/_esm/chains/definitions/skale/europa.js +25 -0
  602. package/_esm/chains/definitions/skale/europa.js.map +1 -0
  603. package/_esm/chains/definitions/skale/europaTestnet.js +28 -0
  604. package/_esm/chains/definitions/skale/europaTestnet.js.map +1 -0
  605. package/_esm/chains/definitions/skale/exorde.js +20 -0
  606. package/_esm/chains/definitions/skale/exorde.js.map +1 -0
  607. package/_esm/chains/definitions/skale/humanProtocol.js +20 -0
  608. package/_esm/chains/definitions/skale/humanProtocol.js.map +1 -0
  609. package/_esm/chains/definitions/skale/nebula.js +25 -0
  610. package/_esm/chains/definitions/skale/nebula.js.map +1 -0
  611. package/_esm/chains/definitions/skale/nebulaTestnet.js +28 -0
  612. package/_esm/chains/definitions/skale/nebulaTestnet.js.map +1 -0
  613. package/_esm/chains/definitions/skale/razor.js +20 -0
  614. package/_esm/chains/definitions/skale/razor.js.map +1 -0
  615. package/_esm/chains/definitions/skale/titan.js +25 -0
  616. package/_esm/chains/definitions/skale/titan.js.map +1 -0
  617. package/_esm/chains/definitions/skale/titanTestnet.js +30 -0
  618. package/_esm/chains/definitions/skale/titanTestnet.js.map +1 -0
  619. package/_esm/chains/definitions/songbird.js +20 -0
  620. package/_esm/chains/definitions/songbird.js.map +1 -0
  621. package/_esm/chains/definitions/songbirdTestnet.js +21 -0
  622. package/_esm/chains/definitions/songbirdTestnet.js.map +1 -0
  623. package/_esm/chains/definitions/spicy.js +31 -0
  624. package/_esm/chains/definitions/spicy.js.map +1 -0
  625. package/_esm/chains/definitions/syscoin.js +26 -0
  626. package/_esm/chains/definitions/syscoin.js.map +1 -0
  627. package/_esm/chains/definitions/syscoinTestnet.js +26 -0
  628. package/_esm/chains/definitions/syscoinTestnet.js.map +1 -0
  629. package/_esm/chains/definitions/taikoJolnir.js +18 -0
  630. package/_esm/chains/definitions/taikoJolnir.js.map +1 -0
  631. package/_esm/chains/definitions/taikoTestnetSepolia.js +18 -0
  632. package/_esm/chains/definitions/taikoTestnetSepolia.js.map +1 -0
  633. package/_esm/chains/definitions/taraxa.js +18 -0
  634. package/_esm/chains/definitions/taraxa.js.map +1 -0
  635. package/_esm/chains/definitions/taraxaTestnet.js +19 -0
  636. package/_esm/chains/definitions/taraxaTestnet.js.map +1 -0
  637. package/_esm/chains/definitions/telos.js +26 -0
  638. package/_esm/chains/definitions/telos.js.map +1 -0
  639. package/_esm/chains/definitions/telosTestnet.js +21 -0
  640. package/_esm/chains/definitions/telosTestnet.js.map +1 -0
  641. package/_esm/chains/definitions/tenet.js +20 -0
  642. package/_esm/chains/definitions/tenet.js.map +1 -0
  643. package/_esm/chains/definitions/thunderTestnet.js +19 -0
  644. package/_esm/chains/definitions/thunderTestnet.js.map +1 -0
  645. package/_esm/chains/definitions/vechain.js +22 -0
  646. package/_esm/chains/definitions/vechain.js.map +1 -0
  647. package/_esm/chains/definitions/wanchain.js +27 -0
  648. package/_esm/chains/definitions/wanchain.js.map +1 -0
  649. package/_esm/chains/definitions/wanchainTestnet.js +25 -0
  650. package/_esm/chains/definitions/wanchainTestnet.js.map +1 -0
  651. package/_esm/chains/definitions/xdc.js +18 -0
  652. package/_esm/chains/definitions/xdc.js.map +1 -0
  653. package/_esm/chains/definitions/xdcTestnet.js +18 -0
  654. package/_esm/chains/definitions/xdcTestnet.js.map +1 -0
  655. package/_esm/chains/definitions/zetachainAthensTestnet.js +23 -0
  656. package/_esm/chains/definitions/zetachainAthensTestnet.js.map +1 -0
  657. package/_esm/chains/definitions/zhejiang.js +19 -0
  658. package/_esm/chains/definitions/zhejiang.js.map +1 -0
  659. package/_esm/chains/definitions/zkSync.js +31 -0
  660. package/_esm/chains/definitions/zkSync.js.map +1 -0
  661. package/_esm/chains/definitions/zkSyncTestnet.js +28 -0
  662. package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -0
  663. package/_esm/chains/definitions/zora.js +36 -0
  664. package/_esm/chains/definitions/zora.js.map +1 -0
  665. package/_esm/chains/definitions/zoraSepolia.js +45 -0
  666. package/_esm/chains/definitions/zoraSepolia.js.map +1 -0
  667. package/_esm/chains/definitions/zoraTestnet.js +40 -0
  668. package/_esm/chains/definitions/zoraTestnet.js.map +1 -0
  669. package/_esm/chains/index.js +170 -0
  670. package/_esm/chains/index.js.map +1 -0
  671. package/_esm/chains/opStack/abis.js +391 -0
  672. package/_esm/chains/opStack/abis.js.map +1 -0
  673. package/_esm/chains/opStack/actions/buildDepositTransaction.js +54 -0
  674. package/_esm/chains/opStack/actions/buildDepositTransaction.js.map +1 -0
  675. package/_esm/chains/opStack/actions/depositTransaction.js +88 -0
  676. package/_esm/chains/opStack/actions/depositTransaction.js.map +1 -0
  677. package/_esm/chains/opStack/actions/estimateContractL1Fee.js +55 -0
  678. package/_esm/chains/opStack/actions/estimateContractL1Fee.js.map +1 -0
  679. package/_esm/chains/opStack/actions/estimateContractL1Gas.js +55 -0
  680. package/_esm/chains/opStack/actions/estimateContractL1Gas.js.map +1 -0
  681. package/_esm/chains/opStack/actions/estimateContractTotalFee.js +55 -0
  682. package/_esm/chains/opStack/actions/estimateContractTotalFee.js.map +1 -0
  683. package/_esm/chains/opStack/actions/estimateContractTotalGas.js +55 -0
  684. package/_esm/chains/opStack/actions/estimateContractTotalGas.js.map +1 -0
  685. package/_esm/chains/opStack/actions/estimateL1Fee.js +74 -0
  686. package/_esm/chains/opStack/actions/estimateL1Fee.js.map +1 -0
  687. package/_esm/chains/opStack/actions/estimateL1Gas.js +74 -0
  688. package/_esm/chains/opStack/actions/estimateL1Gas.js.map +1 -0
  689. package/_esm/chains/opStack/actions/estimateTotalFee.js +38 -0
  690. package/_esm/chains/opStack/actions/estimateTotalFee.js.map +1 -0
  691. package/_esm/chains/opStack/actions/estimateTotalGas.js +36 -0
  692. package/_esm/chains/opStack/actions/estimateTotalGas.js.map +1 -0
  693. package/_esm/chains/opStack/chainConfig.js +9 -0
  694. package/_esm/chains/opStack/chainConfig.js.map +1 -0
  695. package/_esm/chains/opStack/chains.js +10 -0
  696. package/_esm/chains/opStack/chains.js.map +1 -0
  697. package/_esm/chains/opStack/contracts.js +13 -0
  698. package/_esm/chains/opStack/contracts.js.map +1 -0
  699. package/_esm/chains/opStack/decorators/publicL2.js +25 -0
  700. package/_esm/chains/opStack/decorators/publicL2.js.map +1 -0
  701. package/_esm/chains/opStack/decorators/walletL1.js +9 -0
  702. package/_esm/chains/opStack/decorators/walletL1.js.map +1 -0
  703. package/_esm/chains/opStack/formatters.js +53 -0
  704. package/_esm/chains/opStack/formatters.js.map +1 -0
  705. package/_esm/chains/opStack/index.js +22 -0
  706. package/_esm/chains/opStack/index.js.map +1 -0
  707. package/_esm/chains/opStack/parsers.js +51 -0
  708. package/_esm/chains/opStack/parsers.js.map +1 -0
  709. package/_esm/chains/opStack/serializers.js +47 -0
  710. package/_esm/chains/opStack/serializers.js.map +1 -0
  711. package/_esm/chains/opStack/types/block.js +2 -0
  712. package/_esm/chains/opStack/types/block.js.map +1 -0
  713. package/_esm/chains/opStack/types/chain.js +2 -0
  714. package/_esm/chains/opStack/types/chain.js.map +1 -0
  715. package/_esm/chains/opStack/types/contract.js +2 -0
  716. package/_esm/chains/opStack/types/contract.js.map +1 -0
  717. package/_esm/chains/opStack/types/transaction.js +2 -0
  718. package/_esm/chains/opStack/types/transaction.js.map +1 -0
  719. package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js +10 -0
  720. package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js.map +1 -0
  721. package/_esm/chains/opStack/utils/fromOpaqueData.js +25 -0
  722. package/_esm/chains/opStack/utils/fromOpaqueData.js.map +1 -0
  723. package/_esm/chains/opStack/utils/getL2TransactionHash.js +25 -0
  724. package/_esm/chains/opStack/utils/getL2TransactionHash.js.map +1 -0
  725. package/_esm/chains/opStack/utils/getL2TransactionHashes.js +7 -0
  726. package/_esm/chains/opStack/utils/getL2TransactionHashes.js.map +1 -0
  727. package/_esm/chains/opStack/utils/getSourceHash.js +18 -0
  728. package/_esm/chains/opStack/utils/getSourceHash.js.map +1 -0
  729. package/_esm/chains/utils.js +5 -0
  730. package/_esm/chains/utils.js.map +1 -0
  731. package/_esm/chains/zksync/chainConfig.js +7 -0
  732. package/_esm/chains/zksync/chainConfig.js.map +1 -0
  733. package/_esm/chains/zksync/formatters.js +126 -0
  734. package/_esm/chains/zksync/formatters.js.map +1 -0
  735. package/_esm/chains/zksync/index.js +3 -0
  736. package/_esm/chains/zksync/index.js.map +1 -0
  737. package/_esm/chains/zksync/serializers.js +71 -0
  738. package/_esm/chains/zksync/serializers.js.map +1 -0
  739. package/_esm/chains/zksync/types.js +2 -0
  740. package/_esm/chains/zksync/types.js.map +1 -0
  741. package/_esm/clients/createClient.js +38 -0
  742. package/_esm/clients/createClient.js.map +1 -0
  743. package/_esm/clients/createPublicClient.js +13 -0
  744. package/_esm/clients/createPublicClient.js.map +1 -0
  745. package/_esm/clients/createTestClient.js +16 -0
  746. package/_esm/clients/createTestClient.js.map +1 -0
  747. package/_esm/clients/createWalletClient.js +14 -0
  748. package/_esm/clients/createWalletClient.js.map +1 -0
  749. package/_esm/clients/decorators/public.js +97 -0
  750. package/_esm/clients/decorators/public.js.map +1 -0
  751. package/_esm/clients/decorators/test.js +70 -0
  752. package/_esm/clients/decorators/test.js.map +1 -0
  753. package/_esm/clients/decorators/wallet.js +38 -0
  754. package/_esm/clients/decorators/wallet.js.map +1 -0
  755. package/_esm/clients/transports/createTransport.js +12 -0
  756. package/_esm/clients/transports/createTransport.js.map +1 -0
  757. package/_esm/clients/transports/custom.js +16 -0
  758. package/_esm/clients/transports/custom.js.map +1 -0
  759. package/_esm/clients/transports/fallback.js +141 -0
  760. package/_esm/clients/transports/fallback.js.map +1 -0
  761. package/_esm/clients/transports/http.js +60 -0
  762. package/_esm/clients/transports/http.js.map +1 -0
  763. package/_esm/clients/transports/webSocket.js +82 -0
  764. package/_esm/clients/transports/webSocket.js.map +1 -0
  765. package/_esm/constants/abis.js +1360 -0
  766. package/_esm/constants/abis.js.map +1 -0
  767. package/_esm/constants/address.js +2 -0
  768. package/_esm/constants/address.js.map +1 -0
  769. package/_esm/constants/bytes.js +2 -0
  770. package/_esm/constants/bytes.js.map +1 -0
  771. package/_esm/constants/contract.js +2 -0
  772. package/_esm/constants/contract.js.map +1 -0
  773. package/_esm/constants/contracts.js +2 -0
  774. package/_esm/constants/contracts.js.map +1 -0
  775. package/_esm/constants/number.js +97 -0
  776. package/_esm/constants/number.js.map +1 -0
  777. package/_esm/constants/solidity.js +33 -0
  778. package/_esm/constants/solidity.js.map +1 -0
  779. package/_esm/constants/strings.js +2 -0
  780. package/_esm/constants/strings.js.map +1 -0
  781. package/_esm/constants/unit.js +13 -0
  782. package/_esm/constants/unit.js.map +1 -0
  783. package/_esm/ens/index.js +9 -0
  784. package/_esm/ens/index.js.map +1 -0
  785. package/_esm/errors/abi.js +433 -0
  786. package/_esm/errors/abi.js.map +1 -0
  787. package/_esm/errors/account.js +19 -0
  788. package/_esm/errors/account.js.map +1 -0
  789. package/_esm/errors/address.js +13 -0
  790. package/_esm/errors/address.js.map +1 -0
  791. package/_esm/errors/base.js +79 -0
  792. package/_esm/errors/base.js.map +1 -0
  793. package/_esm/errors/block.js +18 -0
  794. package/_esm/errors/block.js.map +1 -0
  795. package/_esm/errors/ccip.js +63 -0
  796. package/_esm/errors/ccip.js.map +1 -0
  797. package/_esm/errors/chain.js +78 -0
  798. package/_esm/errors/chain.js.map +1 -0
  799. package/_esm/errors/contract.js +278 -0
  800. package/_esm/errors/contract.js.map +1 -0
  801. package/_esm/errors/cursor.js +24 -0
  802. package/_esm/errors/cursor.js.map +1 -0
  803. package/_esm/errors/data.js +26 -0
  804. package/_esm/errors/data.js.map +1 -0
  805. package/_esm/errors/encoding.js +57 -0
  806. package/_esm/errors/encoding.js.map +1 -0
  807. package/_esm/errors/ens.js +52 -0
  808. package/_esm/errors/ens.js.map +1 -0
  809. package/_esm/errors/estimateGas.js +45 -0
  810. package/_esm/errors/estimateGas.js.map +1 -0
  811. package/_esm/errors/fee.js +36 -0
  812. package/_esm/errors/fee.js.map +1 -0
  813. package/_esm/errors/log.js +13 -0
  814. package/_esm/errors/log.js.map +1 -0
  815. package/_esm/errors/node.js +247 -0
  816. package/_esm/errors/node.js.map +1 -0
  817. package/_esm/errors/request.js +100 -0
  818. package/_esm/errors/request.js.map +1 -0
  819. package/_esm/errors/rpc.js +424 -0
  820. package/_esm/errors/rpc.js.map +1 -0
  821. package/_esm/errors/transaction.js +211 -0
  822. package/_esm/errors/transaction.js.map +1 -0
  823. package/_esm/errors/transport.js +9 -0
  824. package/_esm/errors/transport.js.map +1 -0
  825. package/_esm/errors/utils.js +5 -0
  826. package/_esm/errors/utils.js.map +1 -0
  827. package/_esm/errors/version.js +2 -0
  828. package/_esm/errors/version.js.map +1 -0
  829. package/_esm/index.js +121 -0
  830. package/_esm/index.js.map +1 -0
  831. package/_esm/package.json +1 -0
  832. package/_esm/types/account.js +2 -0
  833. package/_esm/types/account.js.map +1 -0
  834. package/_esm/types/block.js +2 -0
  835. package/_esm/types/block.js.map +1 -0
  836. package/_esm/types/chain.js +2 -0
  837. package/_esm/types/chain.js.map +1 -0
  838. package/_esm/types/contract.js +2 -0
  839. package/_esm/types/contract.js.map +1 -0
  840. package/_esm/types/eip1193.js +20 -0
  841. package/_esm/types/eip1193.js.map +1 -0
  842. package/_esm/types/ens.js +2 -0
  843. package/_esm/types/ens.js.map +1 -0
  844. package/_esm/types/fee.js +2 -0
  845. package/_esm/types/fee.js.map +1 -0
  846. package/_esm/types/filter.js +2 -0
  847. package/_esm/types/filter.js.map +1 -0
  848. package/_esm/types/log.js +2 -0
  849. package/_esm/types/log.js.map +1 -0
  850. package/_esm/types/misc.js +2 -0
  851. package/_esm/types/misc.js.map +1 -0
  852. package/_esm/types/multicall.js +2 -0
  853. package/_esm/types/multicall.js.map +1 -0
  854. package/_esm/types/proof.js +2 -0
  855. package/_esm/types/proof.js.map +1 -0
  856. package/_esm/types/rpc.js +2 -0
  857. package/_esm/types/rpc.js.map +1 -0
  858. package/_esm/types/transaction.js +2 -0
  859. package/_esm/types/transaction.js.map +1 -0
  860. package/_esm/types/transport.js +2 -0
  861. package/_esm/types/transport.js.map +1 -0
  862. package/_esm/types/typedData.js +2 -0
  863. package/_esm/types/typedData.js.map +1 -0
  864. package/_esm/types/utils.js +2 -0
  865. package/_esm/types/utils.js.map +1 -0
  866. package/_esm/types/window.js +2 -0
  867. package/_esm/types/window.js.map +1 -0
  868. package/_esm/types/withdrawal.js +2 -0
  869. package/_esm/types/withdrawal.js.map +1 -0
  870. package/_esm/utils/abi/decodeAbiParameters.js +234 -0
  871. package/_esm/utils/abi/decodeAbiParameters.js.map +1 -0
  872. package/_esm/utils/abi/decodeDeployData.js +18 -0
  873. package/_esm/utils/abi/decodeDeployData.js.map +1 -0
  874. package/_esm/utils/abi/decodeErrorResult.js +26 -0
  875. package/_esm/utils/abi/decodeErrorResult.js.map +1 -0
  876. package/_esm/utils/abi/decodeEventLog.js +83 -0
  877. package/_esm/utils/abi/decodeEventLog.js.map +1 -0
  878. package/_esm/utils/abi/decodeFunctionData.js +24 -0
  879. package/_esm/utils/abi/decodeFunctionData.js.map +1 -0
  880. package/_esm/utils/abi/decodeFunctionResult.js +25 -0
  881. package/_esm/utils/abi/decodeFunctionResult.js.map +1 -0
  882. package/_esm/utils/abi/encodeAbiParameters.js +215 -0
  883. package/_esm/utils/abi/encodeAbiParameters.js.map +1 -0
  884. package/_esm/utils/abi/encodeDeployData.js +19 -0
  885. package/_esm/utils/abi/encodeDeployData.js.map +1 -0
  886. package/_esm/utils/abi/encodeErrorResult.js +29 -0
  887. package/_esm/utils/abi/encodeErrorResult.js.map +1 -0
  888. package/_esm/utils/abi/encodeEventTopics.js +49 -0
  889. package/_esm/utils/abi/encodeEventTopics.js.map +1 -0
  890. package/_esm/utils/abi/encodeFunctionData.js +30 -0
  891. package/_esm/utils/abi/encodeFunctionData.js.map +1 -0
  892. package/_esm/utils/abi/encodeFunctionResult.js +23 -0
  893. package/_esm/utils/abi/encodeFunctionResult.js.map +1 -0
  894. package/_esm/utils/abi/encodePacked.js +69 -0
  895. package/_esm/utils/abi/encodePacked.js.map +1 -0
  896. package/_esm/utils/abi/formatAbiItem.js +22 -0
  897. package/_esm/utils/abi/formatAbiItem.js.map +1 -0
  898. package/_esm/utils/abi/formatAbiItemWithArgs.js +13 -0
  899. package/_esm/utils/abi/formatAbiItemWithArgs.js.map +1 -0
  900. package/_esm/utils/abi/getAbiItem.js +86 -0
  901. package/_esm/utils/abi/getAbiItem.js.map +1 -0
  902. package/_esm/utils/abi/parseEventLogs.js +59 -0
  903. package/_esm/utils/abi/parseEventLogs.js.map +1 -0
  904. package/_esm/utils/accounts.js +6 -0
  905. package/_esm/utils/accounts.js.map +1 -0
  906. package/_esm/utils/address/getAddress.js +26 -0
  907. package/_esm/utils/address/getAddress.js.map +1 -0
  908. package/_esm/utils/address/getContractAddress.js +36 -0
  909. package/_esm/utils/address/getContractAddress.js.map +1 -0
  910. package/_esm/utils/address/isAddress.js +5 -0
  911. package/_esm/utils/address/isAddress.js.map +1 -0
  912. package/_esm/utils/address/isAddressEqual.js +10 -0
  913. package/_esm/utils/address/isAddressEqual.js.map +1 -0
  914. package/_esm/utils/buildRequest.js +137 -0
  915. package/_esm/utils/buildRequest.js.map +1 -0
  916. package/_esm/utils/ccip.js +119 -0
  917. package/_esm/utils/ccip.js.map +1 -0
  918. package/_esm/utils/chain/assertCurrentChain.js +8 -0
  919. package/_esm/utils/chain/assertCurrentChain.js.map +1 -0
  920. package/_esm/utils/chain/defineChain.js +9 -0
  921. package/_esm/utils/chain/defineChain.js.map +1 -0
  922. package/_esm/utils/chain/extractChain.js +4 -0
  923. package/_esm/utils/chain/extractChain.js.map +1 -0
  924. package/_esm/utils/chain/getChainContractAddress.js +22 -0
  925. package/_esm/utils/chain/getChainContractAddress.js.map +1 -0
  926. package/_esm/utils/cursor.js +130 -0
  927. package/_esm/utils/cursor.js.map +1 -0
  928. package/_esm/utils/data/concat.js +22 -0
  929. package/_esm/utils/data/concat.js.map +1 -0
  930. package/_esm/utils/data/isBytes.js +10 -0
  931. package/_esm/utils/data/isBytes.js.map +1 -0
  932. package/_esm/utils/data/isBytesEqual.js +9 -0
  933. package/_esm/utils/data/isBytesEqual.js.map +1 -0
  934. package/_esm/utils/data/isHex.js +8 -0
  935. package/_esm/utils/data/isHex.js.map +1 -0
  936. package/_esm/utils/data/pad.js +36 -0
  937. package/_esm/utils/data/pad.js.map +1 -0
  938. package/_esm/utils/data/size.js +13 -0
  939. package/_esm/utils/data/size.js.map +1 -0
  940. package/_esm/utils/data/slice.js +69 -0
  941. package/_esm/utils/data/slice.js.map +1 -0
  942. package/_esm/utils/data/trim.js +21 -0
  943. package/_esm/utils/data/trim.js.map +1 -0
  944. package/_esm/utils/encoding/fromBytes.js +127 -0
  945. package/_esm/utils/encoding/fromBytes.js.map +1 -0
  946. package/_esm/utils/encoding/fromHex.js +167 -0
  947. package/_esm/utils/encoding/fromHex.js.map +1 -0
  948. package/_esm/utils/encoding/fromRlp.js +63 -0
  949. package/_esm/utils/encoding/fromRlp.js.map +1 -0
  950. package/_esm/utils/encoding/toBytes.js +177 -0
  951. package/_esm/utils/encoding/toBytes.js.map +1 -0
  952. package/_esm/utils/encoding/toHex.js +177 -0
  953. package/_esm/utils/encoding/toHex.js.map +1 -0
  954. package/_esm/utils/encoding/toRlp.js +101 -0
  955. package/_esm/utils/encoding/toRlp.js.map +1 -0
  956. package/_esm/utils/ens/avatar/parseAvatarRecord.js +34 -0
  957. package/_esm/utils/ens/avatar/parseAvatarRecord.js.map +1 -0
  958. package/_esm/utils/ens/avatar/utils.js +186 -0
  959. package/_esm/utils/ens/avatar/utils.js.map +1 -0
  960. package/_esm/utils/ens/encodeLabelhash.js +4 -0
  961. package/_esm/utils/ens/encodeLabelhash.js.map +1 -0
  962. package/_esm/utils/ens/encodedLabelToLabelhash.js +14 -0
  963. package/_esm/utils/ens/encodedLabelToLabelhash.js.map +1 -0
  964. package/_esm/utils/ens/errors.js +25 -0
  965. package/_esm/utils/ens/errors.js.map +1 -0
  966. package/_esm/utils/ens/labelhash.js +20 -0
  967. package/_esm/utils/ens/labelhash.js.map +1 -0
  968. package/_esm/utils/ens/namehash.js +32 -0
  969. package/_esm/utils/ens/namehash.js.map +1 -0
  970. package/_esm/utils/ens/normalize.js +15 -0
  971. package/_esm/utils/ens/normalize.js.map +1 -0
  972. package/_esm/utils/ens/packetToBytes.js +29 -0
  973. package/_esm/utils/ens/packetToBytes.js.map +1 -0
  974. package/_esm/utils/errors/getCallError.js +16 -0
  975. package/_esm/utils/errors/getCallError.js.map +1 -0
  976. package/_esm/utils/errors/getContractError.js +35 -0
  977. package/_esm/utils/errors/getContractError.js.map +1 -0
  978. package/_esm/utils/errors/getEstimateGasError.js +16 -0
  979. package/_esm/utils/errors/getEstimateGasError.js.map +1 -0
  980. package/_esm/utils/errors/getNodeError.js +60 -0
  981. package/_esm/utils/errors/getNodeError.js.map +1 -0
  982. package/_esm/utils/errors/getTransactionError.js +16 -0
  983. package/_esm/utils/errors/getTransactionError.js.map +1 -0
  984. package/_esm/utils/filters/createFilterRequestScope.js +15 -0
  985. package/_esm/utils/filters/createFilterRequestScope.js.map +1 -0
  986. package/_esm/utils/formatters/block.js +28 -0
  987. package/_esm/utils/formatters/block.js.map +1 -0
  988. package/_esm/utils/formatters/extract.js +23 -0
  989. package/_esm/utils/formatters/extract.js.map +1 -0
  990. package/_esm/utils/formatters/feeHistory.js +9 -0
  991. package/_esm/utils/formatters/feeHistory.js.map +1 -0
  992. package/_esm/utils/formatters/formatter.js +21 -0
  993. package/_esm/utils/formatters/formatter.js.map +1 -0
  994. package/_esm/utils/formatters/log.js +14 -0
  995. package/_esm/utils/formatters/log.js.map +1 -0
  996. package/_esm/utils/formatters/proof.js +18 -0
  997. package/_esm/utils/formatters/proof.js.map +1 -0
  998. package/_esm/utils/formatters/transaction.js +64 -0
  999. package/_esm/utils/formatters/transaction.js.map +1 -0
  1000. package/_esm/utils/formatters/transactionReceipt.js +43 -0
  1001. package/_esm/utils/formatters/transactionReceipt.js.map +1 -0
  1002. package/_esm/utils/formatters/transactionRequest.js +35 -0
  1003. package/_esm/utils/formatters/transactionRequest.js.map +1 -0
  1004. package/_esm/utils/getAction.js +14 -0
  1005. package/_esm/utils/getAction.js.map +1 -0
  1006. package/_esm/utils/hash/getEventSelector.js +6 -0
  1007. package/_esm/utils/hash/getEventSelector.js.map +1 -0
  1008. package/_esm/utils/hash/getEventSignature.js +5 -0
  1009. package/_esm/utils/hash/getEventSignature.js.map +1 -0
  1010. package/_esm/utils/hash/getFunctionSelector.js +7 -0
  1011. package/_esm/utils/hash/getFunctionSelector.js.map +1 -0
  1012. package/_esm/utils/hash/getFunctionSignature.js +11 -0
  1013. package/_esm/utils/hash/getFunctionSignature.js.map +1 -0
  1014. package/_esm/utils/hash/hashFunction.js +12 -0
  1015. package/_esm/utils/hash/hashFunction.js.map +1 -0
  1016. package/_esm/utils/hash/isHash.js +6 -0
  1017. package/_esm/utils/hash/isHash.js.map +1 -0
  1018. package/_esm/utils/hash/keccak256.js +12 -0
  1019. package/_esm/utils/hash/keccak256.js.map +1 -0
  1020. package/_esm/utils/hash/normalizeSignature.js +51 -0
  1021. package/_esm/utils/hash/normalizeSignature.js.map +1 -0
  1022. package/_esm/utils/index.js +84 -0
  1023. package/_esm/utils/index.js.map +1 -0
  1024. package/_esm/utils/observe.js +44 -0
  1025. package/_esm/utils/observe.js.map +1 -0
  1026. package/_esm/utils/poll.js +26 -0
  1027. package/_esm/utils/poll.js.map +1 -0
  1028. package/_esm/utils/promise/createBatchScheduler.js +51 -0
  1029. package/_esm/utils/promise/createBatchScheduler.js.map +1 -0
  1030. package/_esm/utils/promise/withCache.js +55 -0
  1031. package/_esm/utils/promise/withCache.js.map +1 -0
  1032. package/_esm/utils/promise/withRetry.js +25 -0
  1033. package/_esm/utils/promise/withRetry.js.map +1 -0
  1034. package/_esm/utils/promise/withTimeout.js +31 -0
  1035. package/_esm/utils/promise/withTimeout.js.map +1 -0
  1036. package/_esm/utils/regex.js +8 -0
  1037. package/_esm/utils/regex.js.map +1 -0
  1038. package/_esm/utils/rpc.js +160 -0
  1039. package/_esm/utils/rpc.js.map +1 -0
  1040. package/_esm/utils/signature/compactSignatureToHex.js +19 -0
  1041. package/_esm/utils/signature/compactSignatureToHex.js.map +1 -0
  1042. package/_esm/utils/signature/compactSignatureToSignature.js +28 -0
  1043. package/_esm/utils/signature/compactSignatureToSignature.js.map +1 -0
  1044. package/_esm/utils/signature/hashMessage.js +16 -0
  1045. package/_esm/utils/signature/hashMessage.js.map +1 -0
  1046. package/_esm/utils/signature/hashTypedData.js +122 -0
  1047. package/_esm/utils/signature/hashTypedData.js.map +1 -0
  1048. package/_esm/utils/signature/hexToCompactSignature.js +20 -0
  1049. package/_esm/utils/signature/hexToCompactSignature.js.map +1 -0
  1050. package/_esm/utils/signature/hexToSignature.js +18 -0
  1051. package/_esm/utils/signature/hexToSignature.js.map +1 -0
  1052. package/_esm/utils/signature/recoverAddress.js +6 -0
  1053. package/_esm/utils/signature/recoverAddress.js.map +1 -0
  1054. package/_esm/utils/signature/recoverMessageAddress.js +6 -0
  1055. package/_esm/utils/signature/recoverMessageAddress.js.map +1 -0
  1056. package/_esm/utils/signature/recoverPublicKey.js +19 -0
  1057. package/_esm/utils/signature/recoverPublicKey.js.map +1 -0
  1058. package/_esm/utils/signature/recoverTypedDataAddress.js +15 -0
  1059. package/_esm/utils/signature/recoverTypedDataAddress.js.map +1 -0
  1060. package/_esm/utils/signature/signatureToCompactSignature.js +30 -0
  1061. package/_esm/utils/signature/signatureToCompactSignature.js.map +1 -0
  1062. package/_esm/utils/signature/signatureToHex.js +21 -0
  1063. package/_esm/utils/signature/signatureToHex.js.map +1 -0
  1064. package/_esm/utils/signature/verifyMessage.js +19 -0
  1065. package/_esm/utils/signature/verifyMessage.js.map +1 -0
  1066. package/_esm/utils/signature/verifyTypedData.js +26 -0
  1067. package/_esm/utils/signature/verifyTypedData.js.map +1 -0
  1068. package/_esm/utils/stringify.js +5 -0
  1069. package/_esm/utils/stringify.js.map +1 -0
  1070. package/_esm/utils/transaction/assertRequest.js +24 -0
  1071. package/_esm/utils/transaction/assertRequest.js.map +1 -0
  1072. package/_esm/utils/transaction/assertTransaction.js +45 -0
  1073. package/_esm/utils/transaction/assertTransaction.js.map +1 -0
  1074. package/_esm/utils/transaction/getSerializedTransactionType.js +14 -0
  1075. package/_esm/utils/transaction/getSerializedTransactionType.js.map +1 -0
  1076. package/_esm/utils/transaction/getTransactionType.js +15 -0
  1077. package/_esm/utils/transaction/getTransactionType.js.map +1 -0
  1078. package/_esm/utils/transaction/parseTransaction.js +207 -0
  1079. package/_esm/utils/transaction/parseTransaction.js.map +1 -0
  1080. package/_esm/utils/transaction/serializeAccessList.js +32 -0
  1081. package/_esm/utils/transaction/serializeAccessList.js.map +1 -0
  1082. package/_esm/utils/transaction/serializeTransaction.js +122 -0
  1083. package/_esm/utils/transaction/serializeTransaction.js.map +1 -0
  1084. package/_esm/utils/typedData.js +73 -0
  1085. package/_esm/utils/typedData.js.map +1 -0
  1086. package/_esm/utils/uid.js +14 -0
  1087. package/_esm/utils/uid.js.map +1 -0
  1088. package/_esm/utils/unit/formatEther.js +17 -0
  1089. package/_esm/utils/unit/formatEther.js.map +1 -0
  1090. package/_esm/utils/unit/formatGwei.js +17 -0
  1091. package/_esm/utils/unit/formatGwei.js.map +1 -0
  1092. package/_esm/utils/unit/formatUnits.js +25 -0
  1093. package/_esm/utils/unit/formatUnits.js.map +1 -0
  1094. package/_esm/utils/unit/parseEther.js +17 -0
  1095. package/_esm/utils/unit/parseEther.js.map +1 -0
  1096. package/_esm/utils/unit/parseGwei.js +17 -0
  1097. package/_esm/utils/unit/parseGwei.js.map +1 -0
  1098. package/_esm/utils/unit/parseUnits.js +47 -0
  1099. package/_esm/utils/unit/parseUnits.js.map +1 -0
  1100. package/_esm/utils/wait.js +4 -0
  1101. package/_esm/utils/wait.js.map +1 -0
  1102. package/_esm/window/index.js +2 -0
  1103. package/_esm/window/index.js.map +1 -0
  1104. package/_types/accounts/generateMnemonic.d.ts +11 -0
  1105. package/_types/accounts/generateMnemonic.d.ts.map +1 -0
  1106. package/_types/accounts/generatePrivateKey.d.ts +11 -0
  1107. package/_types/accounts/generatePrivateKey.d.ts.map +1 -0
  1108. package/_types/accounts/hdKeyToAccount.d.ts +13 -0
  1109. package/_types/accounts/hdKeyToAccount.d.ts.map +1 -0
  1110. package/_types/accounts/index.d.ts +27 -0
  1111. package/_types/accounts/index.d.ts.map +1 -0
  1112. package/_types/accounts/mnemonicToAccount.d.ts +11 -0
  1113. package/_types/accounts/mnemonicToAccount.d.ts.map +1 -0
  1114. package/_types/accounts/privateKeyToAccount.d.ts +17 -0
  1115. package/_types/accounts/privateKeyToAccount.d.ts.map +1 -0
  1116. package/_types/accounts/toAccount.d.ts +15 -0
  1117. package/_types/accounts/toAccount.d.ts.map +1 -0
  1118. package/_types/accounts/types.d.ts +50 -0
  1119. package/_types/accounts/types.d.ts.map +1 -0
  1120. package/_types/accounts/utils/parseAccount.d.ts +6 -0
  1121. package/_types/accounts/utils/parseAccount.d.ts.map +1 -0
  1122. package/_types/accounts/utils/privateKeyToAddress.d.ts +15 -0
  1123. package/_types/accounts/utils/privateKeyToAddress.d.ts.map +1 -0
  1124. package/_types/accounts/utils/publicKeyToAddress.d.ts +15 -0
  1125. package/_types/accounts/utils/publicKeyToAddress.d.ts.map +1 -0
  1126. package/_types/accounts/utils/sign.d.ts +19 -0
  1127. package/_types/accounts/utils/sign.d.ts.map +1 -0
  1128. package/_types/accounts/utils/signMessage.d.ts +21 -0
  1129. package/_types/accounts/utils/signMessage.d.ts.map +1 -0
  1130. package/_types/accounts/utils/signTransaction.d.ts +16 -0
  1131. package/_types/accounts/utils/signTransaction.d.ts.map +1 -0
  1132. package/_types/accounts/utils/signTypedData.d.ts +21 -0
  1133. package/_types/accounts/utils/signTypedData.d.ts.map +1 -0
  1134. package/_types/actions/ens/getEnsAddress.d.ts +54 -0
  1135. package/_types/actions/ens/getEnsAddress.d.ts.map +1 -0
  1136. package/_types/actions/ens/getEnsAvatar.d.ts +44 -0
  1137. package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -0
  1138. package/_types/actions/ens/getEnsName.d.ts +46 -0
  1139. package/_types/actions/ens/getEnsName.d.ts.map +1 -0
  1140. package/_types/actions/ens/getEnsResolver.d.ts +48 -0
  1141. package/_types/actions/ens/getEnsResolver.d.ts.map +1 -0
  1142. package/_types/actions/ens/getEnsText.d.ts +53 -0
  1143. package/_types/actions/ens/getEnsText.d.ts.map +1 -0
  1144. package/_types/actions/getContract.d.ts +357 -0
  1145. package/_types/actions/getContract.d.ts.map +1 -0
  1146. package/_types/actions/index.d.ts +82 -0
  1147. package/_types/actions/index.d.ts.map +1 -0
  1148. package/_types/actions/public/call.d.ts +70 -0
  1149. package/_types/actions/public/call.d.ts.map +1 -0
  1150. package/_types/actions/public/createBlockFilter.d.ts +31 -0
  1151. package/_types/actions/public/createBlockFilter.d.ts.map +1 -0
  1152. package/_types/actions/public/createContractEventFilter.d.ts +55 -0
  1153. package/_types/actions/public/createContractEventFilter.d.ts.map +1 -0
  1154. package/_types/actions/public/createEventFilter.d.ts +81 -0
  1155. package/_types/actions/public/createEventFilter.d.ts.map +1 -0
  1156. package/_types/actions/public/createPendingTransactionFilter.d.ts +31 -0
  1157. package/_types/actions/public/createPendingTransactionFilter.d.ts.map +1 -0
  1158. package/_types/actions/public/estimateContractGas.d.ts +43 -0
  1159. package/_types/actions/public/estimateContractGas.d.ts.map +1 -0
  1160. package/_types/actions/public/estimateFeesPerGas.d.ts +53 -0
  1161. package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -0
  1162. package/_types/actions/public/estimateGas.d.ts +57 -0
  1163. package/_types/actions/public/estimateGas.d.ts.map +1 -0
  1164. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +44 -0
  1165. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -0
  1166. package/_types/actions/public/getBalance.d.ts +59 -0
  1167. package/_types/actions/public/getBalance.d.ts.map +1 -0
  1168. package/_types/actions/public/getBlock.d.ts +61 -0
  1169. package/_types/actions/public/getBlock.d.ts.map +1 -0
  1170. package/_types/actions/public/getBlockNumber.d.ts +58 -0
  1171. package/_types/actions/public/getBlockNumber.d.ts.map +1 -0
  1172. package/_types/actions/public/getBlockTransactionCount.d.ts +52 -0
  1173. package/_types/actions/public/getBlockTransactionCount.d.ts.map +1 -0
  1174. package/_types/actions/public/getBytecode.d.ts +45 -0
  1175. package/_types/actions/public/getBytecode.d.ts.map +1 -0
  1176. package/_types/actions/public/getChainId.d.ts +32 -0
  1177. package/_types/actions/public/getChainId.d.ts.map +1 -0
  1178. package/_types/actions/public/getContractEvents.d.ts +66 -0
  1179. package/_types/actions/public/getContractEvents.d.ts.map +1 -0
  1180. package/_types/actions/public/getFeeHistory.d.ts +57 -0
  1181. package/_types/actions/public/getFeeHistory.d.ts.map +1 -0
  1182. package/_types/actions/public/getFilterChanges.d.ts +101 -0
  1183. package/_types/actions/public/getFilterChanges.d.ts.map +1 -0
  1184. package/_types/actions/public/getFilterLogs.d.ts +45 -0
  1185. package/_types/actions/public/getFilterLogs.d.ts.map +1 -0
  1186. package/_types/actions/public/getGasPrice.d.ts +30 -0
  1187. package/_types/actions/public/getGasPrice.d.ts.map +1 -0
  1188. package/_types/actions/public/getLogs.d.ts +78 -0
  1189. package/_types/actions/public/getLogs.d.ts.map +1 -0
  1190. package/_types/actions/public/getProof.d.ts +57 -0
  1191. package/_types/actions/public/getProof.d.ts.map +1 -0
  1192. package/_types/actions/public/getStorageAt.d.ts +47 -0
  1193. package/_types/actions/public/getStorageAt.d.ts.map +1 -0
  1194. package/_types/actions/public/getTransaction.d.ts +69 -0
  1195. package/_types/actions/public/getTransaction.d.ts.map +1 -0
  1196. package/_types/actions/public/getTransactionConfirmations.d.ts +45 -0
  1197. package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -0
  1198. package/_types/actions/public/getTransactionCount.d.ts +49 -0
  1199. package/_types/actions/public/getTransactionCount.d.ts.map +1 -0
  1200. package/_types/actions/public/getTransactionReceipt.d.ts +40 -0
  1201. package/_types/actions/public/getTransactionReceipt.d.ts.map +1 -0
  1202. package/_types/actions/public/multicall.d.ts +73 -0
  1203. package/_types/actions/public/multicall.d.ts.map +1 -0
  1204. package/_types/actions/public/readContract.d.ts +46 -0
  1205. package/_types/actions/public/readContract.d.ts.map +1 -0
  1206. package/_types/actions/public/simulateContract.d.ts +67 -0
  1207. package/_types/actions/public/simulateContract.d.ts.map +1 -0
  1208. package/_types/actions/public/uninstallFilter.d.ts +37 -0
  1209. package/_types/actions/public/uninstallFilter.d.ts.map +1 -0
  1210. package/_types/actions/public/verifyHash.d.ts +30 -0
  1211. package/_types/actions/public/verifyHash.d.ts.map +1 -0
  1212. package/_types/actions/public/verifyMessage.d.ts +31 -0
  1213. package/_types/actions/public/verifyMessage.d.ts.map +1 -0
  1214. package/_types/actions/public/verifyTypedData.d.ts +30 -0
  1215. package/_types/actions/public/verifyTypedData.d.ts.map +1 -0
  1216. package/_types/actions/public/waitForTransactionReceipt.d.ts +78 -0
  1217. package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -0
  1218. package/_types/actions/public/watchBlockNumber.d.ts +58 -0
  1219. package/_types/actions/public/watchBlockNumber.d.ts.map +1 -0
  1220. package/_types/actions/public/watchBlocks.d.ts +66 -0
  1221. package/_types/actions/public/watchBlocks.d.ts.map +1 -0
  1222. package/_types/actions/public/watchContractEvent.d.ts +64 -0
  1223. package/_types/actions/public/watchContractEvent.d.ts.map +1 -0
  1224. package/_types/actions/public/watchEvent.d.ts +79 -0
  1225. package/_types/actions/public/watchEvent.d.ts.map +1 -0
  1226. package/_types/actions/public/watchPendingTransactions.d.ts +49 -0
  1227. package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -0
  1228. package/_types/actions/test/dropTransaction.d.ts +36 -0
  1229. package/_types/actions/test/dropTransaction.d.ts.map +1 -0
  1230. package/_types/actions/test/dumpState.d.ts +31 -0
  1231. package/_types/actions/test/dumpState.d.ts.map +1 -0
  1232. package/_types/actions/test/getAutomine.d.ts +30 -0
  1233. package/_types/actions/test/getAutomine.d.ts.map +1 -0
  1234. package/_types/actions/test/getTxpoolContent.d.ts +37 -0
  1235. package/_types/actions/test/getTxpoolContent.d.ts.map +1 -0
  1236. package/_types/actions/test/getTxpoolStatus.d.ts +33 -0
  1237. package/_types/actions/test/getTxpoolStatus.d.ts.map +1 -0
  1238. package/_types/actions/test/impersonateAccount.d.ts +36 -0
  1239. package/_types/actions/test/impersonateAccount.d.ts.map +1 -0
  1240. package/_types/actions/test/increaseTime.d.ts +35 -0
  1241. package/_types/actions/test/increaseTime.d.ts.map +1 -0
  1242. package/_types/actions/test/inspectTxpool.d.ts +34 -0
  1243. package/_types/actions/test/inspectTxpool.d.ts.map +1 -0
  1244. package/_types/actions/test/loadState.d.ts +34 -0
  1245. package/_types/actions/test/loadState.d.ts.map +1 -0
  1246. package/_types/actions/test/mine.d.ts +35 -0
  1247. package/_types/actions/test/mine.d.ts.map +1 -0
  1248. package/_types/actions/test/removeBlockTimestampInterval.d.ts +28 -0
  1249. package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +1 -0
  1250. package/_types/actions/test/reset.d.ts +35 -0
  1251. package/_types/actions/test/reset.d.ts.map +1 -0
  1252. package/_types/actions/test/revert.d.ts +34 -0
  1253. package/_types/actions/test/revert.d.ts.map +1 -0
  1254. package/_types/actions/test/sendUnsignedTransaction.d.ts +38 -0
  1255. package/_types/actions/test/sendUnsignedTransaction.d.ts.map +1 -0
  1256. package/_types/actions/test/setAutomine.d.ts +28 -0
  1257. package/_types/actions/test/setAutomine.d.ts.map +1 -0
  1258. package/_types/actions/test/setBalance.d.ts +39 -0
  1259. package/_types/actions/test/setBalance.d.ts.map +1 -0
  1260. package/_types/actions/test/setBlockGasLimit.d.ts +33 -0
  1261. package/_types/actions/test/setBlockGasLimit.d.ts.map +1 -0
  1262. package/_types/actions/test/setBlockTimestampInterval.d.ts +33 -0
  1263. package/_types/actions/test/setBlockTimestampInterval.d.ts.map +1 -0
  1264. package/_types/actions/test/setCode.d.ts +40 -0
  1265. package/_types/actions/test/setCode.d.ts.map +1 -0
  1266. package/_types/actions/test/setCoinbase.d.ts +36 -0
  1267. package/_types/actions/test/setCoinbase.d.ts.map +1 -0
  1268. package/_types/actions/test/setIntervalMining.d.ts +33 -0
  1269. package/_types/actions/test/setIntervalMining.d.ts.map +1 -0
  1270. package/_types/actions/test/setLoggingEnabled.d.ts +28 -0
  1271. package/_types/actions/test/setLoggingEnabled.d.ts.map +1 -0
  1272. package/_types/actions/test/setMinGasPrice.d.ts +37 -0
  1273. package/_types/actions/test/setMinGasPrice.d.ts.map +1 -0
  1274. package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +35 -0
  1275. package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +1 -0
  1276. package/_types/actions/test/setNextBlockTimestamp.d.ts +33 -0
  1277. package/_types/actions/test/setNextBlockTimestamp.d.ts.map +1 -0
  1278. package/_types/actions/test/setNonce.d.ts +39 -0
  1279. package/_types/actions/test/setNonce.d.ts.map +1 -0
  1280. package/_types/actions/test/setRpcUrl.d.ts +29 -0
  1281. package/_types/actions/test/setRpcUrl.d.ts.map +1 -0
  1282. package/_types/actions/test/setStorageAt.d.ts +43 -0
  1283. package/_types/actions/test/setStorageAt.d.ts.map +1 -0
  1284. package/_types/actions/test/snapshot.d.ts +28 -0
  1285. package/_types/actions/test/snapshot.d.ts.map +1 -0
  1286. package/_types/actions/test/stopImpersonatingAccount.d.ts +36 -0
  1287. package/_types/actions/test/stopImpersonatingAccount.d.ts.map +1 -0
  1288. package/_types/actions/wallet/addChain.d.ts +33 -0
  1289. package/_types/actions/wallet/addChain.d.ts.map +1 -0
  1290. package/_types/actions/wallet/deployContract.d.ts +50 -0
  1291. package/_types/actions/wallet/deployContract.d.ts.map +1 -0
  1292. package/_types/actions/wallet/getAddresses.d.ts +32 -0
  1293. package/_types/actions/wallet/getAddresses.d.ts.map +1 -0
  1294. package/_types/actions/wallet/getPermissions.d.ts +31 -0
  1295. package/_types/actions/wallet/getPermissions.d.ts.map +1 -0
  1296. package/_types/actions/wallet/prepareTransactionRequest.d.ts +72 -0
  1297. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -0
  1298. package/_types/actions/wallet/requestAddresses.d.ts +35 -0
  1299. package/_types/actions/wallet/requestAddresses.d.ts.map +1 -0
  1300. package/_types/actions/wallet/requestPermissions.d.ts +40 -0
  1301. package/_types/actions/wallet/requestPermissions.d.ts.map +1 -0
  1302. package/_types/actions/wallet/sendRawTransaction.d.ts +41 -0
  1303. package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -0
  1304. package/_types/actions/wallet/sendTransaction.d.ts +69 -0
  1305. package/_types/actions/wallet/sendTransaction.d.ts.map +1 -0
  1306. package/_types/actions/wallet/signMessage.d.ts +64 -0
  1307. package/_types/actions/wallet/signMessage.d.ts.map +1 -0
  1308. package/_types/actions/wallet/signTransaction.d.ts +64 -0
  1309. package/_types/actions/wallet/signTransaction.d.ts.map +1 -0
  1310. package/_types/actions/wallet/signTypedData.d.ts +119 -0
  1311. package/_types/actions/wallet/signTypedData.d.ts.map +1 -0
  1312. package/_types/actions/wallet/switchChain.d.ts +34 -0
  1313. package/_types/actions/wallet/switchChain.d.ts.map +1 -0
  1314. package/_types/actions/wallet/watchAsset.d.ts +40 -0
  1315. package/_types/actions/wallet/watchAsset.d.ts.map +1 -0
  1316. package/_types/actions/wallet/writeContract.d.ts +71 -0
  1317. package/_types/actions/wallet/writeContract.d.ts.map +1 -0
  1318. package/_types/chains/celo/chainConfig.d.ts +914 -0
  1319. package/_types/chains/celo/chainConfig.d.ts.map +1 -0
  1320. package/_types/chains/celo/formatters.d.ts +911 -0
  1321. package/_types/chains/celo/formatters.d.ts.map +1 -0
  1322. package/_types/chains/celo/index.d.ts +5 -0
  1323. package/_types/chains/celo/index.d.ts.map +1 -0
  1324. package/_types/chains/celo/parsers.d.ts +6 -0
  1325. package/_types/chains/celo/parsers.d.ts.map +1 -0
  1326. package/_types/chains/celo/serializers.d.ts +12 -0
  1327. package/_types/chains/celo/serializers.d.ts.map +1 -0
  1328. package/_types/chains/celo/types.d.ts +138 -0
  1329. package/_types/chains/celo/types.d.ts.map +1 -0
  1330. package/_types/chains/celo/utils.d.ts +7 -0
  1331. package/_types/chains/celo/utils.d.ts.map +1 -0
  1332. package/_types/chains/definitions/arbitrum.d.ts +32 -0
  1333. package/_types/chains/definitions/arbitrum.d.ts.map +1 -0
  1334. package/_types/chains/definitions/arbitrumGoerli.d.ts +36 -0
  1335. package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -0
  1336. package/_types/chains/definitions/arbitrumNova.d.ts +32 -0
  1337. package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -0
  1338. package/_types/chains/definitions/arbitrumSepolia.d.ts +32 -0
  1339. package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -0
  1340. package/_types/chains/definitions/astar.d.ts +36 -0
  1341. package/_types/chains/definitions/astar.d.ts.map +1 -0
  1342. package/_types/chains/definitions/astarZkatana.d.ts +40 -0
  1343. package/_types/chains/definitions/astarZkatana.d.ts.map +1 -0
  1344. package/_types/chains/definitions/aurora.d.ts +32 -0
  1345. package/_types/chains/definitions/aurora.d.ts.map +1 -0
  1346. package/_types/chains/definitions/auroraTestnet.d.ts +34 -0
  1347. package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -0
  1348. package/_types/chains/definitions/avalanche.d.ts +32 -0
  1349. package/_types/chains/definitions/avalanche.d.ts.map +1 -0
  1350. package/_types/chains/definitions/avalancheFuji.d.ts +32 -0
  1351. package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -0
  1352. package/_types/chains/definitions/base.d.ts +573 -0
  1353. package/_types/chains/definitions/base.d.ts.map +1 -0
  1354. package/_types/chains/definitions/baseGoerli.d.ts +572 -0
  1355. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -0
  1356. package/_types/chains/definitions/baseSepolia.d.ts +577 -0
  1357. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -0
  1358. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +34 -0
  1359. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -0
  1360. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +34 -0
  1361. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -0
  1362. package/_types/chains/definitions/boba.d.ts +32 -0
  1363. package/_types/chains/definitions/boba.d.ts.map +1 -0
  1364. package/_types/chains/definitions/bronos.d.ts +34 -0
  1365. package/_types/chains/definitions/bronos.d.ts.map +1 -0
  1366. package/_types/chains/definitions/bronosTestnet.d.ts +34 -0
  1367. package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -0
  1368. package/_types/chains/definitions/bsc.d.ts +32 -0
  1369. package/_types/chains/definitions/bsc.d.ts.map +1 -0
  1370. package/_types/chains/definitions/bscTestnet.d.ts +35 -0
  1371. package/_types/chains/definitions/bscTestnet.d.ts.map +1 -0
  1372. package/_types/chains/definitions/bxn.d.ts +34 -0
  1373. package/_types/chains/definitions/bxn.d.ts.map +1 -0
  1374. package/_types/chains/definitions/bxnTestnet.d.ts +34 -0
  1375. package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -0
  1376. package/_types/chains/definitions/canto.d.ts +32 -0
  1377. package/_types/chains/definitions/canto.d.ts.map +1 -0
  1378. package/_types/chains/definitions/celo.d.ts +941 -0
  1379. package/_types/chains/definitions/celo.d.ts.map +1 -0
  1380. package/_types/chains/definitions/celoAlfajores.d.ts +941 -0
  1381. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -0
  1382. package/_types/chains/definitions/celoCannoli.d.ts +941 -0
  1383. package/_types/chains/definitions/celoCannoli.d.ts.map +1 -0
  1384. package/_types/chains/definitions/chiliz.d.ts +35 -0
  1385. package/_types/chains/definitions/chiliz.d.ts.map +1 -0
  1386. package/_types/chains/definitions/classic.d.ts +34 -0
  1387. package/_types/chains/definitions/classic.d.ts.map +1 -0
  1388. package/_types/chains/definitions/confluxESpace.d.ts +33 -0
  1389. package/_types/chains/definitions/confluxESpace.d.ts.map +1 -0
  1390. package/_types/chains/definitions/confluxESpaceTestnet.d.ts +38 -0
  1391. package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -0
  1392. package/_types/chains/definitions/coreDao.d.ts +32 -0
  1393. package/_types/chains/definitions/coreDao.d.ts.map +1 -0
  1394. package/_types/chains/definitions/cronos.d.ts +32 -0
  1395. package/_types/chains/definitions/cronos.d.ts.map +1 -0
  1396. package/_types/chains/definitions/cronosTestnet.d.ts +32 -0
  1397. package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -0
  1398. package/_types/chains/definitions/crossbell.d.ts +32 -0
  1399. package/_types/chains/definitions/crossbell.d.ts.map +1 -0
  1400. package/_types/chains/definitions/dfk.d.ts +34 -0
  1401. package/_types/chains/definitions/dfk.d.ts.map +1 -0
  1402. package/_types/chains/definitions/dogechain.d.ts +34 -0
  1403. package/_types/chains/definitions/dogechain.d.ts.map +1 -0
  1404. package/_types/chains/definitions/edgeware.d.ts +32 -0
  1405. package/_types/chains/definitions/edgeware.d.ts.map +1 -0
  1406. package/_types/chains/definitions/edgewareTestnet.d.ts +34 -0
  1407. package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -0
  1408. package/_types/chains/definitions/ekta.d.ts +34 -0
  1409. package/_types/chains/definitions/ekta.d.ts.map +1 -0
  1410. package/_types/chains/definitions/ektaTestnet.d.ts +34 -0
  1411. package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -0
  1412. package/_types/chains/definitions/eon.d.ts +27 -0
  1413. package/_types/chains/definitions/eon.d.ts.map +1 -0
  1414. package/_types/chains/definitions/eos.d.ts +32 -0
  1415. package/_types/chains/definitions/eos.d.ts.map +1 -0
  1416. package/_types/chains/definitions/eosTestnet.d.ts +32 -0
  1417. package/_types/chains/definitions/eosTestnet.d.ts.map +1 -0
  1418. package/_types/chains/definitions/evmos.d.ts +34 -0
  1419. package/_types/chains/definitions/evmos.d.ts.map +1 -0
  1420. package/_types/chains/definitions/evmosTestnet.d.ts +34 -0
  1421. package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -0
  1422. package/_types/chains/definitions/fantom.d.ts +32 -0
  1423. package/_types/chains/definitions/fantom.d.ts.map +1 -0
  1424. package/_types/chains/definitions/fantomTestnet.d.ts +32 -0
  1425. package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -0
  1426. package/_types/chains/definitions/fibo.d.ts +34 -0
  1427. package/_types/chains/definitions/fibo.d.ts.map +1 -0
  1428. package/_types/chains/definitions/filecoin.d.ts +32 -0
  1429. package/_types/chains/definitions/filecoin.d.ts.map +1 -0
  1430. package/_types/chains/definitions/filecoinCalibration.d.ts +34 -0
  1431. package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -0
  1432. package/_types/chains/definitions/filecoinHyperspace.d.ts +34 -0
  1433. package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -0
  1434. package/_types/chains/definitions/flare.d.ts +34 -0
  1435. package/_types/chains/definitions/flare.d.ts.map +1 -0
  1436. package/_types/chains/definitions/flareTestnet.d.ts +34 -0
  1437. package/_types/chains/definitions/flareTestnet.d.ts.map +1 -0
  1438. package/_types/chains/definitions/foundry.d.ts +39 -0
  1439. package/_types/chains/definitions/foundry.d.ts.map +1 -0
  1440. package/_types/chains/definitions/fuse.d.ts +32 -0
  1441. package/_types/chains/definitions/fuse.d.ts.map +1 -0
  1442. package/_types/chains/definitions/fuseSparknet.d.ts +34 -0
  1443. package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -0
  1444. package/_types/chains/definitions/gnosis.d.ts +33 -0
  1445. package/_types/chains/definitions/gnosis.d.ts.map +1 -0
  1446. package/_types/chains/definitions/gnosisChiado.d.ts +33 -0
  1447. package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -0
  1448. package/_types/chains/definitions/gobi.d.ts +27 -0
  1449. package/_types/chains/definitions/gobi.d.ts.map +1 -0
  1450. package/_types/chains/definitions/goerli.d.ts +39 -0
  1451. package/_types/chains/definitions/goerli.d.ts.map +1 -0
  1452. package/_types/chains/definitions/haqqMainnet.d.ts +34 -0
  1453. package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -0
  1454. package/_types/chains/definitions/haqqTestedge2.d.ts +34 -0
  1455. package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -0
  1456. package/_types/chains/definitions/hardhat.d.ts +38 -0
  1457. package/_types/chains/definitions/hardhat.d.ts.map +1 -0
  1458. package/_types/chains/definitions/harmonyOne.d.ts +32 -0
  1459. package/_types/chains/definitions/harmonyOne.d.ts.map +1 -0
  1460. package/_types/chains/definitions/holesky.d.ts +36 -0
  1461. package/_types/chains/definitions/holesky.d.ts.map +1 -0
  1462. package/_types/chains/definitions/iotex.d.ts +35 -0
  1463. package/_types/chains/definitions/iotex.d.ts.map +1 -0
  1464. package/_types/chains/definitions/iotexTestnet.d.ts +35 -0
  1465. package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -0
  1466. package/_types/chains/definitions/kava.d.ts +36 -0
  1467. package/_types/chains/definitions/kava.d.ts.map +1 -0
  1468. package/_types/chains/definitions/kavaTestnet.d.ts +36 -0
  1469. package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -0
  1470. package/_types/chains/definitions/klaytn.d.ts +32 -0
  1471. package/_types/chains/definitions/klaytn.d.ts.map +1 -0
  1472. package/_types/chains/definitions/klaytnBaobab.d.ts +40 -0
  1473. package/_types/chains/definitions/klaytnBaobab.d.ts.map +1 -0
  1474. package/_types/chains/definitions/kroma.d.ts +34 -0
  1475. package/_types/chains/definitions/kroma.d.ts.map +1 -0
  1476. package/_types/chains/definitions/kromaSepolia.d.ts +34 -0
  1477. package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -0
  1478. package/_types/chains/definitions/linea.d.ts +33 -0
  1479. package/_types/chains/definitions/linea.d.ts.map +1 -0
  1480. package/_types/chains/definitions/lineaTestnet.d.ts +33 -0
  1481. package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -0
  1482. package/_types/chains/definitions/localhost.d.ts +38 -0
  1483. package/_types/chains/definitions/localhost.d.ts.map +1 -0
  1484. package/_types/chains/definitions/lukso.d.ts +40 -0
  1485. package/_types/chains/definitions/lukso.d.ts.map +1 -0
  1486. package/_types/chains/definitions/mainnet.d.ts +39 -0
  1487. package/_types/chains/definitions/mainnet.d.ts.map +1 -0
  1488. package/_types/chains/definitions/manta.d.ts +40 -0
  1489. package/_types/chains/definitions/manta.d.ts.map +1 -0
  1490. package/_types/chains/definitions/mantaTestnet.d.ts +40 -0
  1491. package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -0
  1492. package/_types/chains/definitions/mantle.d.ts +32 -0
  1493. package/_types/chains/definitions/mantle.d.ts.map +1 -0
  1494. package/_types/chains/definitions/mantleTestnet.d.ts +34 -0
  1495. package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -0
  1496. package/_types/chains/definitions/meter.d.ts +34 -0
  1497. package/_types/chains/definitions/meter.d.ts.map +1 -0
  1498. package/_types/chains/definitions/meterTestnet.d.ts +34 -0
  1499. package/_types/chains/definitions/meterTestnet.d.ts.map +1 -0
  1500. package/_types/chains/definitions/metis.d.ts +32 -0
  1501. package/_types/chains/definitions/metis.d.ts.map +1 -0
  1502. package/_types/chains/definitions/metisGoerli.d.ts +32 -0
  1503. package/_types/chains/definitions/metisGoerli.d.ts.map +1 -0
  1504. package/_types/chains/definitions/mev.d.ts +32 -0
  1505. package/_types/chains/definitions/mev.d.ts.map +1 -0
  1506. package/_types/chains/definitions/mevTestnet.d.ts +32 -0
  1507. package/_types/chains/definitions/mevTestnet.d.ts.map +1 -0
  1508. package/_types/chains/definitions/modeTestnet.d.ts +32 -0
  1509. package/_types/chains/definitions/modeTestnet.d.ts.map +1 -0
  1510. package/_types/chains/definitions/moonbaseAlpha.d.ts +33 -0
  1511. package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -0
  1512. package/_types/chains/definitions/moonbeam.d.ts +33 -0
  1513. package/_types/chains/definitions/moonbeam.d.ts.map +1 -0
  1514. package/_types/chains/definitions/moonbeamDev.d.ts +39 -0
  1515. package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -0
  1516. package/_types/chains/definitions/moonriver.d.ts +33 -0
  1517. package/_types/chains/definitions/moonriver.d.ts.map +1 -0
  1518. package/_types/chains/definitions/neonDevnet.d.ts +32 -0
  1519. package/_types/chains/definitions/neonDevnet.d.ts.map +1 -0
  1520. package/_types/chains/definitions/neonMainnet.d.ts +31 -0
  1521. package/_types/chains/definitions/neonMainnet.d.ts.map +1 -0
  1522. package/_types/chains/definitions/nexi.d.ts +32 -0
  1523. package/_types/chains/definitions/nexi.d.ts.map +1 -0
  1524. package/_types/chains/definitions/nexilix.d.ts +32 -0
  1525. package/_types/chains/definitions/nexilix.d.ts.map +1 -0
  1526. package/_types/chains/definitions/oasys.d.ts +34 -0
  1527. package/_types/chains/definitions/oasys.d.ts.map +1 -0
  1528. package/_types/chains/definitions/okc.d.ts +32 -0
  1529. package/_types/chains/definitions/okc.d.ts.map +1 -0
  1530. package/_types/chains/definitions/opBNB.d.ts +32 -0
  1531. package/_types/chains/definitions/opBNB.d.ts.map +1 -0
  1532. package/_types/chains/definitions/opBNBTestnet.d.ts +32 -0
  1533. package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -0
  1534. package/_types/chains/definitions/optimism.d.ts +572 -0
  1535. package/_types/chains/definitions/optimism.d.ts.map +1 -0
  1536. package/_types/chains/definitions/optimismGoerli.d.ts +572 -0
  1537. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -0
  1538. package/_types/chains/definitions/optimismSepolia.d.ts +572 -0
  1539. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -0
  1540. package/_types/chains/definitions/pgn.d.ts +555 -0
  1541. package/_types/chains/definitions/pgn.d.ts.map +1 -0
  1542. package/_types/chains/definitions/pgnTestnet.d.ts +555 -0
  1543. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -0
  1544. package/_types/chains/definitions/plinga.d.ts +32 -0
  1545. package/_types/chains/definitions/plinga.d.ts.map +1 -0
  1546. package/_types/chains/definitions/polygon.d.ts +32 -0
  1547. package/_types/chains/definitions/polygon.d.ts.map +1 -0
  1548. package/_types/chains/definitions/polygonMumbai.d.ts +32 -0
  1549. package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -0
  1550. package/_types/chains/definitions/polygonZkEvm.d.ts +32 -0
  1551. package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -0
  1552. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +32 -0
  1553. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -0
  1554. package/_types/chains/definitions/pulsechain.d.ts +36 -0
  1555. package/_types/chains/definitions/pulsechain.d.ts.map +1 -0
  1556. package/_types/chains/definitions/pulsechainV4.d.ts +36 -0
  1557. package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -0
  1558. package/_types/chains/definitions/qMainnet.d.ts +34 -0
  1559. package/_types/chains/definitions/qMainnet.d.ts.map +1 -0
  1560. package/_types/chains/definitions/qTestnet.d.ts +34 -0
  1561. package/_types/chains/definitions/qTestnet.d.ts.map +1 -0
  1562. package/_types/chains/definitions/rollux.d.ts +33 -0
  1563. package/_types/chains/definitions/rollux.d.ts.map +1 -0
  1564. package/_types/chains/definitions/rolluxTestnet.d.ts +33 -0
  1565. package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -0
  1566. package/_types/chains/definitions/ronin.d.ts +32 -0
  1567. package/_types/chains/definitions/ronin.d.ts.map +1 -0
  1568. package/_types/chains/definitions/rootstock.d.ts +40 -0
  1569. package/_types/chains/definitions/rootstock.d.ts.map +1 -0
  1570. package/_types/chains/definitions/saigon.d.ts +32 -0
  1571. package/_types/chains/definitions/saigon.d.ts.map +1 -0
  1572. package/_types/chains/definitions/sapphire.d.ts +38 -0
  1573. package/_types/chains/definitions/sapphire.d.ts.map +1 -0
  1574. package/_types/chains/definitions/sapphireTestnet.d.ts +40 -0
  1575. package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -0
  1576. package/_types/chains/definitions/scroll.d.ts +33 -0
  1577. package/_types/chains/definitions/scroll.d.ts.map +1 -0
  1578. package/_types/chains/definitions/scrollSepolia.d.ts +32 -0
  1579. package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -0
  1580. package/_types/chains/definitions/scrollTestnet.d.ts +35 -0
  1581. package/_types/chains/definitions/scrollTestnet.d.ts.map +1 -0
  1582. package/_types/chains/definitions/sepolia.d.ts +39 -0
  1583. package/_types/chains/definitions/sepolia.d.ts.map +1 -0
  1584. package/_types/chains/definitions/shardeumSphinx.d.ts +34 -0
  1585. package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -0
  1586. package/_types/chains/definitions/shibarium.d.ts +40 -0
  1587. package/_types/chains/definitions/shibarium.d.ts.map +1 -0
  1588. package/_types/chains/definitions/shimmer.d.ts +38 -0
  1589. package/_types/chains/definitions/shimmer.d.ts.map +1 -0
  1590. package/_types/chains/definitions/shimmerTestnet.d.ts +38 -0
  1591. package/_types/chains/definitions/shimmerTestnet.d.ts.map +1 -0
  1592. package/_types/chains/definitions/skale/brawl.d.ts +28 -0
  1593. package/_types/chains/definitions/skale/brawl.d.ts.map +1 -0
  1594. package/_types/chains/definitions/skale/calypso.d.ts +33 -0
  1595. package/_types/chains/definitions/skale/calypso.d.ts.map +1 -0
  1596. package/_types/chains/definitions/skale/calypsoTestnet.d.ts +33 -0
  1597. package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -0
  1598. package/_types/chains/definitions/skale/chaosTestnet.d.ts +33 -0
  1599. package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +1 -0
  1600. package/_types/chains/definitions/skale/cryptoBlades.d.ts +28 -0
  1601. package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -0
  1602. package/_types/chains/definitions/skale/cryptoColosseum.d.ts +28 -0
  1603. package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -0
  1604. package/_types/chains/definitions/skale/europa.d.ts +33 -0
  1605. package/_types/chains/definitions/skale/europa.d.ts.map +1 -0
  1606. package/_types/chains/definitions/skale/europaTestnet.d.ts +33 -0
  1607. package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -0
  1608. package/_types/chains/definitions/skale/exorde.d.ts +28 -0
  1609. package/_types/chains/definitions/skale/exorde.d.ts.map +1 -0
  1610. package/_types/chains/definitions/skale/humanProtocol.d.ts +28 -0
  1611. package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -0
  1612. package/_types/chains/definitions/skale/nebula.d.ts +33 -0
  1613. package/_types/chains/definitions/skale/nebula.d.ts.map +1 -0
  1614. package/_types/chains/definitions/skale/nebulaTestnet.d.ts +33 -0
  1615. package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -0
  1616. package/_types/chains/definitions/skale/razor.d.ts +28 -0
  1617. package/_types/chains/definitions/skale/razor.d.ts.map +1 -0
  1618. package/_types/chains/definitions/skale/titan.d.ts +33 -0
  1619. package/_types/chains/definitions/skale/titan.d.ts.map +1 -0
  1620. package/_types/chains/definitions/skale/titanTestnet.d.ts +33 -0
  1621. package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -0
  1622. package/_types/chains/definitions/songbird.d.ts +34 -0
  1623. package/_types/chains/definitions/songbird.d.ts.map +1 -0
  1624. package/_types/chains/definitions/songbirdTestnet.d.ts +34 -0
  1625. package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -0
  1626. package/_types/chains/definitions/spicy.d.ts +36 -0
  1627. package/_types/chains/definitions/spicy.d.ts.map +1 -0
  1628. package/_types/chains/definitions/syscoin.d.ts +33 -0
  1629. package/_types/chains/definitions/syscoin.d.ts.map +1 -0
  1630. package/_types/chains/definitions/syscoinTestnet.d.ts +33 -0
  1631. package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -0
  1632. package/_types/chains/definitions/taikoJolnir.d.ts +34 -0
  1633. package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -0
  1634. package/_types/chains/definitions/taikoTestnetSepolia.d.ts +34 -0
  1635. package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -0
  1636. package/_types/chains/definitions/taraxa.d.ts +34 -0
  1637. package/_types/chains/definitions/taraxa.d.ts.map +1 -0
  1638. package/_types/chains/definitions/taraxaTestnet.d.ts +34 -0
  1639. package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -0
  1640. package/_types/chains/definitions/telos.d.ts +32 -0
  1641. package/_types/chains/definitions/telos.d.ts.map +1 -0
  1642. package/_types/chains/definitions/telosTestnet.d.ts +34 -0
  1643. package/_types/chains/definitions/telosTestnet.d.ts.map +1 -0
  1644. package/_types/chains/definitions/tenet.d.ts +38 -0
  1645. package/_types/chains/definitions/tenet.d.ts.map +1 -0
  1646. package/_types/chains/definitions/thunderTestnet.d.ts +34 -0
  1647. package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -0
  1648. package/_types/chains/definitions/vechain.d.ts +38 -0
  1649. package/_types/chains/definitions/vechain.d.ts.map +1 -0
  1650. package/_types/chains/definitions/wanchain.d.ts +32 -0
  1651. package/_types/chains/definitions/wanchain.d.ts.map +1 -0
  1652. package/_types/chains/definitions/wanchainTestnet.d.ts +32 -0
  1653. package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -0
  1654. package/_types/chains/definitions/xdc.d.ts +38 -0
  1655. package/_types/chains/definitions/xdc.d.ts.map +1 -0
  1656. package/_types/chains/definitions/xdcTestnet.d.ts +38 -0
  1657. package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -0
  1658. package/_types/chains/definitions/zetachainAthensTestnet.d.ts +34 -0
  1659. package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -0
  1660. package/_types/chains/definitions/zhejiang.d.ts +34 -0
  1661. package/_types/chains/definitions/zhejiang.d.ts.map +1 -0
  1662. package/_types/chains/definitions/zkSync.d.ts +529 -0
  1663. package/_types/chains/definitions/zkSync.d.ts.map +1 -0
  1664. package/_types/chains/definitions/zkSyncTestnet.d.ts +529 -0
  1665. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -0
  1666. package/_types/chains/definitions/zora.d.ts +573 -0
  1667. package/_types/chains/definitions/zora.d.ts.map +1 -0
  1668. package/_types/chains/definitions/zoraSepolia.d.ts +578 -0
  1669. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -0
  1670. package/_types/chains/definitions/zoraTestnet.d.ts +573 -0
  1671. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -0
  1672. package/_types/chains/index.d.ts +174 -0
  1673. package/_types/chains/index.d.ts.map +1 -0
  1674. package/_types/chains/opStack/abis.d.ts +549 -0
  1675. package/_types/chains/opStack/abis.d.ts.map +1 -0
  1676. package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +63 -0
  1677. package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +1 -0
  1678. package/_types/chains/opStack/actions/depositTransaction.d.ts +96 -0
  1679. package/_types/chains/opStack/actions/depositTransaction.d.ts.map +1 -0
  1680. package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts +39 -0
  1681. package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts.map +1 -0
  1682. package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts +39 -0
  1683. package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts.map +1 -0
  1684. package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts +39 -0
  1685. package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts.map +1 -0
  1686. package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts +39 -0
  1687. package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts.map +1 -0
  1688. package/_types/chains/opStack/actions/estimateL1Fee.d.ts +43 -0
  1689. package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +1 -0
  1690. package/_types/chains/opStack/actions/estimateL1Gas.d.ts +43 -0
  1691. package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +1 -0
  1692. package/_types/chains/opStack/actions/estimateTotalFee.d.ts +37 -0
  1693. package/_types/chains/opStack/actions/estimateTotalFee.d.ts.map +1 -0
  1694. package/_types/chains/opStack/actions/estimateTotalGas.d.ts +36 -0
  1695. package/_types/chains/opStack/actions/estimateTotalGas.d.ts.map +1 -0
  1696. package/_types/chains/opStack/chainConfig.d.ts +542 -0
  1697. package/_types/chains/opStack/chainConfig.d.ts.map +1 -0
  1698. package/_types/chains/opStack/chains.d.ts +10 -0
  1699. package/_types/chains/opStack/chains.d.ts.map +1 -0
  1700. package/_types/chains/opStack/contracts.d.ts +21 -0
  1701. package/_types/chains/opStack/contracts.d.ts.map +1 -0
  1702. package/_types/chains/opStack/decorators/publicL2.d.ts +241 -0
  1703. package/_types/chains/opStack/decorators/publicL2.d.ts.map +1 -0
  1704. package/_types/chains/opStack/decorators/walletL1.d.ts +64 -0
  1705. package/_types/chains/opStack/decorators/walletL1.d.ts.map +1 -0
  1706. package/_types/chains/opStack/formatters.d.ts +520 -0
  1707. package/_types/chains/opStack/formatters.d.ts.map +1 -0
  1708. package/_types/chains/opStack/index.d.ts +24 -0
  1709. package/_types/chains/opStack/index.d.ts.map +1 -0
  1710. package/_types/chains/opStack/parsers.d.ts +8 -0
  1711. package/_types/chains/opStack/parsers.d.ts.map +1 -0
  1712. package/_types/chains/opStack/serializers.d.ts +12 -0
  1713. package/_types/chains/opStack/serializers.d.ts.map +1 -0
  1714. package/_types/chains/opStack/types/block.d.ts +13 -0
  1715. package/_types/chains/opStack/types/block.d.ts.map +1 -0
  1716. package/_types/chains/opStack/types/chain.d.ts +9 -0
  1717. package/_types/chains/opStack/types/chain.d.ts.map +1 -0
  1718. package/_types/chains/opStack/types/contract.d.ts +13 -0
  1719. package/_types/chains/opStack/types/contract.d.ts.map +1 -0
  1720. package/_types/chains/opStack/types/transaction.d.ts +60 -0
  1721. package/_types/chains/opStack/types/transaction.d.ts.map +1 -0
  1722. package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts +446 -0
  1723. package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts.map +1 -0
  1724. package/_types/chains/opStack/utils/fromOpaqueData.d.ts +15 -0
  1725. package/_types/chains/opStack/utils/fromOpaqueData.d.ts.map +1 -0
  1726. package/_types/chains/opStack/utils/getL2TransactionHash.d.ts +12 -0
  1727. package/_types/chains/opStack/utils/getL2TransactionHash.d.ts.map +1 -0
  1728. package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts +11 -0
  1729. package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts.map +1 -0
  1730. package/_types/chains/opStack/utils/getSourceHash.d.ts +28 -0
  1731. package/_types/chains/opStack/utils/getSourceHash.d.ts.map +1 -0
  1732. package/_types/chains/utils.d.ts +5 -0
  1733. package/_types/chains/utils.d.ts.map +1 -0
  1734. package/_types/chains/zksync/chainConfig.d.ts +501 -0
  1735. package/_types/chains/zksync/chainConfig.d.ts.map +1 -0
  1736. package/_types/chains/zksync/formatters.d.ts +498 -0
  1737. package/_types/chains/zksync/formatters.d.ts.map +1 -0
  1738. package/_types/chains/zksync/index.d.ts +4 -0
  1739. package/_types/chains/zksync/index.d.ts.map +1 -0
  1740. package/_types/chains/zksync/serializers.d.ts +9 -0
  1741. package/_types/chains/zksync/serializers.d.ts.map +1 -0
  1742. package/_types/chains/zksync/types.d.ts +158 -0
  1743. package/_types/chains/zksync/types.d.ts.map +1 -0
  1744. package/_types/clients/createClient.d.ts +86 -0
  1745. package/_types/clients/createClient.d.ts.map +1 -0
  1746. package/_types/clients/createPublicClient.d.ts +31 -0
  1747. package/_types/clients/createPublicClient.d.ts.map +1 -0
  1748. package/_types/clients/createTestClient.d.ts +45 -0
  1749. package/_types/clients/createTestClient.d.ts.map +1 -0
  1750. package/_types/clients/createWalletClient.d.ts +51 -0
  1751. package/_types/clients/createWalletClient.d.ts.map +1 -0
  1752. package/_types/clients/decorators/public.d.ts +1252 -0
  1753. package/_types/clients/decorators/public.d.ts.map +1 -0
  1754. package/_types/clients/decorators/test.d.ts +640 -0
  1755. package/_types/clients/decorators/test.d.ts.map +1 -0
  1756. package/_types/clients/decorators/wallet.d.ts +561 -0
  1757. package/_types/clients/decorators/wallet.d.ts.map +1 -0
  1758. package/_types/clients/transports/createTransport.d.ts +36 -0
  1759. package/_types/clients/transports/createTransport.d.ts.map +1 -0
  1760. package/_types/clients/transports/custom.d.ts +23 -0
  1761. package/_types/clients/transports/custom.d.ts.map +1 -0
  1762. package/_types/clients/transports/fallback.d.ts +77 -0
  1763. package/_types/clients/transports/fallback.d.ts.map +1 -0
  1764. package/_types/clients/transports/http.d.ts +44 -0
  1765. package/_types/clients/transports/http.d.ts.map +1 -0
  1766. package/_types/clients/transports/webSocket.d.ts +47 -0
  1767. package/_types/clients/transports/webSocket.d.ts.map +1 -0
  1768. package/_types/constants/abis.d.ts +1035 -0
  1769. package/_types/constants/abis.d.ts.map +1 -0
  1770. package/_types/constants/address.d.ts +2 -0
  1771. package/_types/constants/address.d.ts.map +1 -0
  1772. package/_types/constants/bytes.d.ts +2 -0
  1773. package/_types/constants/bytes.d.ts.map +1 -0
  1774. package/_types/constants/contract.d.ts +2 -0
  1775. package/_types/constants/contract.d.ts.map +1 -0
  1776. package/_types/constants/contracts.d.ts +2 -0
  1777. package/_types/constants/contracts.d.ts.map +1 -0
  1778. package/_types/constants/number.d.ts +97 -0
  1779. package/_types/constants/number.d.ts.map +1 -0
  1780. package/_types/constants/solidity.d.ts +15 -0
  1781. package/_types/constants/solidity.d.ts.map +1 -0
  1782. package/_types/constants/strings.d.ts +2 -0
  1783. package/_types/constants/strings.d.ts.map +1 -0
  1784. package/_types/constants/unit.d.ts +13 -0
  1785. package/_types/constants/unit.d.ts.map +1 -0
  1786. package/_types/ens/index.d.ts +9 -0
  1787. package/_types/ens/index.d.ts.map +1 -0
  1788. package/_types/errors/abi.d.ts +244 -0
  1789. package/_types/errors/abi.d.ts.map +1 -0
  1790. package/_types/errors/account.d.ts +11 -0
  1791. package/_types/errors/account.d.ts.map +1 -0
  1792. package/_types/errors/address.d.ts +11 -0
  1793. package/_types/errors/address.d.ts.map +1 -0
  1794. package/_types/errors/base.d.ts +27 -0
  1795. package/_types/errors/base.d.ts.map +1 -0
  1796. package/_types/errors/block.d.ts +13 -0
  1797. package/_types/errors/block.d.ts.map +1 -0
  1798. package/_types/errors/ccip.d.ts +38 -0
  1799. package/_types/errors/ccip.d.ts.map +1 -0
  1800. package/_types/errors/chain.d.ts +50 -0
  1801. package/_types/errors/chain.d.ts.map +1 -0
  1802. package/_types/errors/contract.d.ts +79 -0
  1803. package/_types/errors/contract.d.ts.map +1 -0
  1804. package/_types/errors/cursor.d.ts +21 -0
  1805. package/_types/errors/cursor.d.ts.map +1 -0
  1806. package/_types/errors/data.d.ts +24 -0
  1807. package/_types/errors/data.d.ts.map +1 -0
  1808. package/_types/errors/encoding.d.ts +47 -0
  1809. package/_types/errors/encoding.d.ts.map +1 -0
  1810. package/_types/errors/ens.d.ts +38 -0
  1811. package/_types/errors/ens.d.ts.map +1 -0
  1812. package/_types/errors/estimateGas.d.ts +17 -0
  1813. package/_types/errors/estimateGas.d.ts.map +1 -0
  1814. package/_types/errors/fee.d.ts +25 -0
  1815. package/_types/errors/fee.d.ts.map +1 -0
  1816. package/_types/errors/log.d.ts +9 -0
  1817. package/_types/errors/log.d.ts.map +1 -0
  1818. package/_types/errors/node.d.ts +142 -0
  1819. package/_types/errors/node.d.ts.map +1 -0
  1820. package/_types/errors/request.d.ts +73 -0
  1821. package/_types/errors/request.d.ts.map +1 -0
  1822. package/_types/errors/rpc.d.ts +302 -0
  1823. package/_types/errors/rpc.d.ts.map +1 -0
  1824. package/_types/errors/transaction.d.ts +109 -0
  1825. package/_types/errors/transaction.d.ts.map +1 -0
  1826. package/_types/errors/transport.d.ts +8 -0
  1827. package/_types/errors/transport.d.ts.map +1 -0
  1828. package/_types/errors/utils.d.ts +8 -0
  1829. package/_types/errors/utils.d.ts.map +1 -0
  1830. package/_types/errors/version.d.ts +2 -0
  1831. package/_types/errors/version.d.ts.map +1 -0
  1832. package/_types/index.d.ts +212 -0
  1833. package/_types/index.d.ts.map +1 -0
  1834. package/_types/types/account.d.ts +15 -0
  1835. package/_types/types/account.d.ts.map +1 -0
  1836. package/_types/types/block.d.ts +67 -0
  1837. package/_types/types/block.d.ts.map +1 -0
  1838. package/_types/types/chain.d.ts +159 -0
  1839. package/_types/types/chain.d.ts.map +1 -0
  1840. package/_types/types/contract.d.ts +118 -0
  1841. package/_types/types/contract.d.ts.map +1 -0
  1842. package/_types/types/eip1193.d.ts +1271 -0
  1843. package/_types/types/eip1193.d.ts.map +1 -0
  1844. package/_types/types/ens.d.ts +5 -0
  1845. package/_types/types/ens.d.ts.map +1 -0
  1846. package/_types/types/fee.d.ts +30 -0
  1847. package/_types/types/fee.d.ts.map +1 -0
  1848. package/_types/types/filter.d.ts +40 -0
  1849. package/_types/types/filter.d.ts.map +1 -0
  1850. package/_types/types/log.d.ts +55 -0
  1851. package/_types/types/log.d.ts.map +1 -0
  1852. package/_types/types/misc.d.ts +18 -0
  1853. package/_types/types/misc.d.ts.map +1 -0
  1854. package/_types/types/multicall.d.ts +58 -0
  1855. package/_types/types/multicall.d.ts.map +1 -0
  1856. package/_types/types/proof.d.ts +18 -0
  1857. package/_types/types/proof.d.ts.map +1 -0
  1858. package/_types/types/rpc.d.ts +22 -0
  1859. package/_types/types/rpc.d.ts.map +1 -0
  1860. package/_types/types/transaction.d.ts +156 -0
  1861. package/_types/types/transaction.d.ts.map +1 -0
  1862. package/_types/types/transport.d.ts +24 -0
  1863. package/_types/types/transport.d.ts.map +1 -0
  1864. package/_types/types/typedData.d.ts +25 -0
  1865. package/_types/types/typedData.d.ts.map +1 -0
  1866. package/_types/types/utils.d.ts +171 -0
  1867. package/_types/types/utils.d.ts.map +1 -0
  1868. package/_types/types/window.d.ts +7 -0
  1869. package/_types/types/window.d.ts.map +1 -0
  1870. package/_types/types/withdrawal.d.ts +8 -0
  1871. package/_types/types/withdrawal.d.ts.map +1 -0
  1872. package/_types/utils/abi/decodeAbiParameters.d.ts +25 -0
  1873. package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -0
  1874. package/_types/utils/abi/decodeDeployData.d.ts +18 -0
  1875. package/_types/utils/abi/decodeDeployData.d.ts.map +1 -0
  1876. package/_types/utils/abi/decodeErrorResult.d.ts +27 -0
  1877. package/_types/utils/abi/decodeErrorResult.d.ts.map +1 -0
  1878. package/_types/utils/abi/decodeEventLog.d.ts +33 -0
  1879. package/_types/utils/abi/decodeEventLog.d.ts.map +1 -0
  1880. package/_types/utils/abi/decodeFunctionData.d.ts +26 -0
  1881. package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -0
  1882. package/_types/utils/abi/decodeFunctionResult.d.ts +26 -0
  1883. package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -0
  1884. package/_types/utils/abi/encodeAbiParameters.d.ts +30 -0
  1885. package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -0
  1886. package/_types/utils/abi/encodeDeployData.d.ts +22 -0
  1887. package/_types/utils/abi/encodeDeployData.d.ts.map +1 -0
  1888. package/_types/utils/abi/encodeErrorResult.d.ts +24 -0
  1889. package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -0
  1890. package/_types/utils/abi/encodeEventTopics.d.ts +26 -0
  1891. package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -0
  1892. package/_types/utils/abi/encodeFunctionData.d.ts +28 -0
  1893. package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -0
  1894. package/_types/utils/abi/encodeFunctionResult.d.ts +22 -0
  1895. package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -0
  1896. package/_types/utils/abi/encodePacked.d.ts +20 -0
  1897. package/_types/utils/abi/encodePacked.d.ts.map +1 -0
  1898. package/_types/utils/abi/formatAbiItem.d.ts +14 -0
  1899. package/_types/utils/abi/formatAbiItem.d.ts.map +1 -0
  1900. package/_types/utils/abi/formatAbiItemWithArgs.d.ts +10 -0
  1901. package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +1 -0
  1902. package/_types/utils/abi/getAbiItem.d.ts +22 -0
  1903. package/_types/utils/abi/getAbiItem.d.ts.map +1 -0
  1904. package/_types/utils/abi/parseEventLogs.d.ts +43 -0
  1905. package/_types/utils/abi/parseEventLogs.d.ts.map +1 -0
  1906. package/_types/utils/accounts.d.ts +3 -0
  1907. package/_types/utils/accounts.d.ts.map +1 -0
  1908. package/_types/utils/address/getAddress.d.ts +10 -0
  1909. package/_types/utils/address/getAddress.d.ts.map +1 -0
  1910. package/_types/utils/address/getContractAddress.d.ts +35 -0
  1911. package/_types/utils/address/getContractAddress.d.ts.map +1 -0
  1912. package/_types/utils/address/isAddress.d.ts +5 -0
  1913. package/_types/utils/address/isAddress.d.ts.map +1 -0
  1914. package/_types/utils/address/isAddressEqual.d.ts +7 -0
  1915. package/_types/utils/address/isAddressEqual.d.ts.map +1 -0
  1916. package/_types/utils/buildRequest.d.ts +11 -0
  1917. package/_types/utils/buildRequest.d.ts.map +1 -0
  1918. package/_types/utils/ccip.d.ts +40 -0
  1919. package/_types/utils/ccip.d.ts.map +1 -0
  1920. package/_types/utils/chain/assertCurrentChain.d.ts +10 -0
  1921. package/_types/utils/chain/assertCurrentChain.d.ts.map +1 -0
  1922. package/_types/utils/chain/defineChain.d.ts +4 -0
  1923. package/_types/utils/chain/defineChain.d.ts.map +1 -0
  1924. package/_types/utils/chain/extractChain.d.ts +10 -0
  1925. package/_types/utils/chain/extractChain.d.ts.map +1 -0
  1926. package/_types/utils/chain/getChainContractAddress.d.ts +9 -0
  1927. package/_types/utils/chain/getChainContractAddress.d.ts.map +1 -0
  1928. package/_types/utils/cursor.d.ts +37 -0
  1929. package/_types/utils/cursor.d.ts.map +1 -0
  1930. package/_types/utils/data/concat.d.ts +10 -0
  1931. package/_types/utils/data/concat.d.ts.map +1 -0
  1932. package/_types/utils/data/isBytes.d.ts +5 -0
  1933. package/_types/utils/data/isBytes.d.ts.map +1 -0
  1934. package/_types/utils/data/isBytesEqual.d.ts +7 -0
  1935. package/_types/utils/data/isBytesEqual.d.ts.map +1 -0
  1936. package/_types/utils/data/isHex.d.ts +7 -0
  1937. package/_types/utils/data/isHex.d.ts.map +1 -0
  1938. package/_types/utils/data/pad.d.ts +16 -0
  1939. package/_types/utils/data/pad.d.ts.map +1 -0
  1940. package/_types/utils/data/size.d.ts +12 -0
  1941. package/_types/utils/data/size.d.ts.map +1 -0
  1942. package/_types/utils/data/slice.d.ts +42 -0
  1943. package/_types/utils/data/slice.d.ts.map +1 -0
  1944. package/_types/utils/data/trim.d.ts +10 -0
  1945. package/_types/utils/data/trim.d.ts.map +1 -0
  1946. package/_types/utils/encoding/fromBytes.d.ts +117 -0
  1947. package/_types/utils/encoding/fromBytes.d.ts.map +1 -0
  1948. package/_types/utils/encoding/fromHex.d.ts +149 -0
  1949. package/_types/utils/encoding/fromHex.d.ts.map +1 -0
  1950. package/_types/utils/encoding/fromRlp.d.ts +21 -0
  1951. package/_types/utils/encoding/fromRlp.d.ts.map +1 -0
  1952. package/_types/utils/encoding/toBytes.d.ts +134 -0
  1953. package/_types/utils/encoding/toBytes.d.ts.map +1 -0
  1954. package/_types/utils/encoding/toHex.d.ts +148 -0
  1955. package/_types/utils/encoding/toHex.d.ts.map +1 -0
  1956. package/_types/utils/encoding/toRlp.d.ts +16 -0
  1957. package/_types/utils/encoding/toRlp.d.ts.map +1 -0
  1958. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +13 -0
  1959. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -0
  1960. package/_types/utils/ens/avatar/utils.d.ts +48 -0
  1961. package/_types/utils/ens/avatar/utils.d.ts.map +1 -0
  1962. package/_types/utils/ens/encodeLabelhash.d.ts +5 -0
  1963. package/_types/utils/ens/encodeLabelhash.d.ts.map +1 -0
  1964. package/_types/utils/ens/encodedLabelToLabelhash.d.ts +6 -0
  1965. package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +1 -0
  1966. package/_types/utils/ens/errors.d.ts +4 -0
  1967. package/_types/utils/ens/errors.d.ts.map +1 -0
  1968. package/_types/utils/ens/labelhash.d.ts +17 -0
  1969. package/_types/utils/ens/labelhash.d.ts.map +1 -0
  1970. package/_types/utils/ens/namehash.d.ts +20 -0
  1971. package/_types/utils/ens/namehash.d.ts.map +1 -0
  1972. package/_types/utils/ens/normalize.d.ts +14 -0
  1973. package/_types/utils/ens/normalize.d.ts.map +1 -0
  1974. package/_types/utils/ens/packetToBytes.d.ts +8 -0
  1975. package/_types/utils/ens/packetToBytes.d.ts.map +1 -0
  1976. package/_types/utils/errors/getCallError.d.ts +13 -0
  1977. package/_types/utils/errors/getCallError.d.ts.map +1 -0
  1978. package/_types/utils/errors/getContractError.d.ts +15 -0
  1979. package/_types/utils/errors/getContractError.d.ts.map +1 -0
  1980. package/_types/utils/errors/getEstimateGasError.d.ts +15 -0
  1981. package/_types/utils/errors/getEstimateGasError.d.ts.map +1 -0
  1982. package/_types/utils/errors/getNodeError.d.ts +8 -0
  1983. package/_types/utils/errors/getNodeError.d.ts.map +1 -0
  1984. package/_types/utils/errors/getTransactionError.d.ts +16 -0
  1985. package/_types/utils/errors/getTransactionError.d.ts.map +1 -0
  1986. package/_types/utils/filters/createFilterRequestScope.d.ts +22 -0
  1987. package/_types/utils/filters/createFilterRequestScope.d.ts.map +1 -0
  1988. package/_types/utils/formatters/block.d.ts +28 -0
  1989. package/_types/utils/formatters/block.d.ts.map +1 -0
  1990. package/_types/utils/formatters/extract.d.ts +10 -0
  1991. package/_types/utils/formatters/extract.d.ts.map +1 -0
  1992. package/_types/utils/formatters/feeHistory.d.ts +6 -0
  1993. package/_types/utils/formatters/feeHistory.d.ts.map +1 -0
  1994. package/_types/utils/formatters/formatter.d.ts +12 -0
  1995. package/_types/utils/formatters/formatter.d.ts.map +1 -0
  1996. package/_types/utils/formatters/log.d.ts +9 -0
  1997. package/_types/utils/formatters/log.d.ts.map +1 -0
  1998. package/_types/utils/formatters/proof.d.ts +6 -0
  1999. package/_types/utils/formatters/proof.d.ts.map +1 -0
  2000. package/_types/utils/formatters/transaction.d.ts +30 -0
  2001. package/_types/utils/formatters/transaction.d.ts.map +1 -0
  2002. package/_types/utils/formatters/transactionReceipt.d.ts +18 -0
  2003. package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -0
  2004. package/_types/utils/formatters/transactionRequest.d.ts +23 -0
  2005. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -0
  2006. package/_types/utils/getAction.d.ts +10 -0
  2007. package/_types/utils/getAction.d.ts.map +1 -0
  2008. package/_types/utils/hash/getEventSelector.d.ts +7 -0
  2009. package/_types/utils/hash/getEventSelector.d.ts.map +1 -0
  2010. package/_types/utils/hash/getEventSignature.d.ts +6 -0
  2011. package/_types/utils/hash/getEventSignature.d.ts.map +1 -0
  2012. package/_types/utils/hash/getFunctionSelector.d.ts +9 -0
  2013. package/_types/utils/hash/getFunctionSelector.d.ts.map +1 -0
  2014. package/_types/utils/hash/getFunctionSignature.d.ts +6 -0
  2015. package/_types/utils/hash/getFunctionSignature.d.ts.map +1 -0
  2016. package/_types/utils/hash/hashFunction.d.ts +11 -0
  2017. package/_types/utils/hash/hashFunction.d.ts.map +1 -0
  2018. package/_types/utils/hash/isHash.d.ts +7 -0
  2019. package/_types/utils/hash/isHash.d.ts.map +1 -0
  2020. package/_types/utils/hash/keccak256.d.ts +11 -0
  2021. package/_types/utils/hash/keccak256.d.ts.map +1 -0
  2022. package/_types/utils/hash/normalizeSignature.d.ts +6 -0
  2023. package/_types/utils/hash/normalizeSignature.d.ts.map +1 -0
  2024. package/_types/utils/index.d.ts +84 -0
  2025. package/_types/utils/index.d.ts.map +1 -0
  2026. package/_types/utils/observe.d.ts +19 -0
  2027. package/_types/utils/observe.d.ts.map +1 -0
  2028. package/_types/utils/poll.d.ts +15 -0
  2029. package/_types/utils/poll.d.ts.map +1 -0
  2030. package/_types/utils/promise/createBatchScheduler.d.ts +21 -0
  2031. package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -0
  2032. package/_types/utils/promise/withCache.d.ts +38 -0
  2033. package/_types/utils/promise/withCache.d.ts.map +1 -0
  2034. package/_types/utils/promise/withRetry.d.ts +14 -0
  2035. package/_types/utils/promise/withRetry.d.ts.map +1 -0
  2036. package/_types/utils/promise/withTimeout.d.ts +10 -0
  2037. package/_types/utils/promise/withTimeout.d.ts.map +1 -0
  2038. package/_types/utils/regex.d.ts +4 -0
  2039. package/_types/utils/regex.d.ts.map +1 -0
  2040. package/_types/utils/rpc.d.ts +80 -0
  2041. package/_types/utils/rpc.d.ts.map +1 -0
  2042. package/_types/utils/signature/compactSignatureToHex.d.ts +19 -0
  2043. package/_types/utils/signature/compactSignatureToHex.d.ts.map +1 -0
  2044. package/_types/utils/signature/compactSignatureToSignature.d.ts +24 -0
  2045. package/_types/utils/signature/compactSignatureToSignature.d.ts.map +1 -0
  2046. package/_types/utils/signature/hashMessage.d.ts +11 -0
  2047. package/_types/utils/signature/hashMessage.d.ts.map +1 -0
  2048. package/_types/utils/signature/hashTypedData.d.ts +29 -0
  2049. package/_types/utils/signature/hashTypedData.d.ts.map +1 -0
  2050. package/_types/utils/signature/hexToCompactSignature.d.ts +16 -0
  2051. package/_types/utils/signature/hexToCompactSignature.d.ts.map +1 -0
  2052. package/_types/utils/signature/hexToSignature.d.ts +16 -0
  2053. package/_types/utils/signature/hexToSignature.d.ts.map +1 -0
  2054. package/_types/utils/signature/recoverAddress.d.ts +11 -0
  2055. package/_types/utils/signature/recoverAddress.d.ts.map +1 -0
  2056. package/_types/utils/signature/recoverMessageAddress.d.ts +13 -0
  2057. package/_types/utils/signature/recoverMessageAddress.d.ts.map +1 -0
  2058. package/_types/utils/signature/recoverPublicKey.d.ts +12 -0
  2059. package/_types/utils/signature/recoverPublicKey.d.ts.map +1 -0
  2060. package/_types/utils/signature/recoverTypedDataAddress.d.ts +13 -0
  2061. package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +1 -0
  2062. package/_types/utils/signature/signatureToCompactSignature.d.ts +23 -0
  2063. package/_types/utils/signature/signatureToCompactSignature.d.ts.map +1 -0
  2064. package/_types/utils/signature/signatureToHex.d.ts +21 -0
  2065. package/_types/utils/signature/signatureToHex.d.ts.map +1 -0
  2066. package/_types/utils/signature/verifyMessage.d.ts +30 -0
  2067. package/_types/utils/signature/verifyMessage.d.ts.map +1 -0
  2068. package/_types/utils/signature/verifyTypedData.d.ts +29 -0
  2069. package/_types/utils/signature/verifyTypedData.d.ts.map +1 -0
  2070. package/_types/utils/stringify.d.ts +4 -0
  2071. package/_types/utils/stringify.d.ts.map +1 -0
  2072. package/_types/utils/transaction/assertRequest.d.ts +11 -0
  2073. package/_types/utils/transaction/assertRequest.d.ts.map +1 -0
  2074. package/_types/utils/transaction/assertTransaction.d.ts +14 -0
  2075. package/_types/utils/transaction/assertTransaction.d.ts.map +1 -0
  2076. package/_types/utils/transaction/getSerializedTransactionType.d.ts +9 -0
  2077. package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -0
  2078. package/_types/utils/transaction/getTransactionType.d.ts +7 -0
  2079. package/_types/utils/transaction/getTransactionType.d.ts.map +1 -0
  2080. package/_types/utils/transaction/parseTransaction.d.ts +26 -0
  2081. package/_types/utils/transaction/parseTransaction.d.ts.map +1 -0
  2082. package/_types/utils/transaction/serializeAccessList.d.ts +10 -0
  2083. package/_types/utils/transaction/serializeAccessList.d.ts.map +1 -0
  2084. package/_types/utils/transaction/serializeTransaction.d.ts +19 -0
  2085. package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -0
  2086. package/_types/utils/typedData.d.ts +19 -0
  2087. package/_types/utils/typedData.d.ts.map +1 -0
  2088. package/_types/utils/uid.d.ts +2 -0
  2089. package/_types/utils/uid.d.ts.map +1 -0
  2090. package/_types/utils/unit/formatEther.d.ts +15 -0
  2091. package/_types/utils/unit/formatEther.d.ts.map +1 -0
  2092. package/_types/utils/unit/formatGwei.d.ts +15 -0
  2093. package/_types/utils/unit/formatGwei.d.ts.map +1 -0
  2094. package/_types/utils/unit/formatUnits.d.ts +15 -0
  2095. package/_types/utils/unit/formatUnits.d.ts.map +1 -0
  2096. package/_types/utils/unit/parseEther.d.ts +16 -0
  2097. package/_types/utils/unit/parseEther.d.ts.map +1 -0
  2098. package/_types/utils/unit/parseGwei.d.ts +16 -0
  2099. package/_types/utils/unit/parseGwei.d.ts.map +1 -0
  2100. package/_types/utils/unit/parseUnits.d.ts +15 -0
  2101. package/_types/utils/unit/parseUnits.d.ts.map +1 -0
  2102. package/_types/utils/wait.d.ts +2 -0
  2103. package/_types/utils/wait.d.ts.map +1 -0
  2104. package/_types/window/index.d.ts +2 -0
  2105. package/_types/window/index.d.ts.map +1 -0
  2106. package/errors/version.ts +1 -1
  2107. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ import type { Abi, AbiStateMutability, ExtractAbiFunctions } from 'abitype';
2
+ import { AbiFunctionNotFoundError, AbiFunctionOutputsNotFoundError } from '../../errors/abi.js';
3
+ import type { ContractFunctionName, ContractFunctionReturnType } from '../../types/contract.js';
4
+ import type { ErrorType } from '../../errors/utils.js';
5
+ import type { Hex } from '../../types/misc.js';
6
+ import type { IsNarrowable, UnionEvaluate } from '../../types/utils.js';
7
+ import { type EncodeAbiParametersErrorType } from './encodeAbiParameters.js';
8
+ import { type GetAbiItemErrorType } from './getAbiItem.js';
9
+ export type EncodeFunctionResultParameters<abi extends Abi | readonly unknown[] = Abi, functionName extends ContractFunctionName<abi> | undefined = ContractFunctionName<abi>, hasFunctions = abi extends Abi ? Abi extends abi ? true : [ExtractAbiFunctions<abi>] extends [never] ? false : true : true, allFunctionNames = ContractFunctionName<abi>> = {
10
+ abi: abi;
11
+ result?: ContractFunctionReturnType<abi, AbiStateMutability, functionName extends ContractFunctionName<abi> ? functionName : ContractFunctionName<abi>, never> | undefined;
12
+ } & UnionEvaluate<IsNarrowable<abi, Abi> extends true ? abi['length'] extends 1 ? {
13
+ functionName?: functionName | allFunctionNames;
14
+ } : {
15
+ functionName: functionName | allFunctionNames;
16
+ } : {
17
+ functionName?: functionName | allFunctionNames;
18
+ }> & (hasFunctions extends true ? unknown : never);
19
+ export type EncodeFunctionResultReturnType = Hex;
20
+ export type EncodeFunctionResultErrorType = AbiFunctionOutputsNotFoundError | AbiFunctionNotFoundError | EncodeAbiParametersErrorType | GetAbiItemErrorType | ErrorType;
21
+ export declare function encodeFunctionResult<const abi extends Abi | readonly unknown[], functionName extends ContractFunctionName<abi> | undefined = undefined>(parameters: EncodeFunctionResultParameters<abi, functionName>): EncodeFunctionResultReturnType;
22
+ //# sourceMappingURL=encodeFunctionResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"encodeFunctionResult.d.ts","sourceRoot":"","sources":["../../../utils/abi/encodeFunctionResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE3E,OAAO,EACL,wBAAwB,EACxB,+BAA+B,EAChC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EACV,oBAAoB,EACpB,0BAA0B,EAC3B,MAAM,yBAAyB,CAAA;AAEhC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACvE,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,KAAK,mBAAmB,EAAc,MAAM,iBAAiB,CAAA;AAItE,MAAM,MAAM,8BAA8B,CACxC,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,GAAG,GAAG,EAC1C,YAAY,SACR,oBAAoB,CAAC,GAAG,CAAC,GACzB,SAAS,GAAG,oBAAoB,CAAC,GAAG,CAAC,EAEzC,YAAY,GAAG,GAAG,SAAS,GAAG,GAC1B,GAAG,SAAS,GAAG,GACb,IAAI,GACJ,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,GACxC,KAAK,GACL,IAAI,GACR,IAAI,EACR,gBAAgB,GAAG,oBAAoB,CAAC,GAAG,CAAC,IAC1C;IACF,GAAG,EAAE,GAAG,CAAA;IACR,MAAM,CAAC,EACH,0BAA0B,CACxB,GAAG,EACH,kBAAkB,EAClB,YAAY,SAAS,oBAAoB,CAAC,GAAG,CAAC,GAC1C,YAAY,GACZ,oBAAoB,CAAC,GAAG,CAAC,EAC7B,KAAK,CACN,GACD,SAAS,CAAA;CACd,GAAG,aAAa,CACf,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,SAAS,IAAI,GAC/B,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,GACrB;IAAE,YAAY,CAAC,EAAE,YAAY,GAAG,gBAAgB,CAAA;CAAE,GAClD;IAAE,YAAY,EAAE,YAAY,GAAG,gBAAgB,CAAA;CAAE,GACnD;IAAE,YAAY,CAAC,EAAE,YAAY,GAAG,gBAAgB,CAAA;CAAE,CACvD,GACC,CAAC,YAAY,SAAS,IAAI,GAAG,OAAO,GAAG,KAAK,CAAC,CAAA;AAE/C,MAAM,MAAM,8BAA8B,GAAG,GAAG,CAAA;AAEhD,MAAM,MAAM,6BAA6B,GACrC,+BAA+B,GAC/B,wBAAwB,GACxB,4BAA4B,GAC5B,mBAAmB,GACnB,SAAS,CAAA;AAEb,wBAAgB,oBAAoB,CAClC,KAAK,CAAC,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,EAC1C,YAAY,SAAS,oBAAoB,CAAC,GAAG,CAAC,GAAG,SAAS,GAAG,SAAS,EAEtE,UAAU,EAAE,8BAA8B,CAAC,GAAG,EAAE,YAAY,CAAC,GAC5D,8BAA8B,CAqBhC"}
@@ -0,0 +1,20 @@
1
+ import type { AbiParameterToPrimitiveType, AbiType, SolidityAddress, SolidityArrayWithoutTuple, SolidityBool, SolidityBytes, SolidityInt, SolidityString } from 'abitype';
2
+ import { type AbiEncodingLengthMismatchErrorType, type BytesSizeMismatchErrorType, UnsupportedPackedAbiType } from '../../errors/abi.js';
3
+ import { type InvalidAddressErrorType } from '../../errors/address.js';
4
+ import type { ErrorType } from '../../errors/utils.js';
5
+ import type { Hex } from '../../types/misc.js';
6
+ import { type IsAddressErrorType } from '../address/isAddress.js';
7
+ import { type ConcatHexErrorType } from '../data/concat.js';
8
+ import { type PadErrorType } from '../data/pad.js';
9
+ import { type BoolToHexErrorType, type NumberToHexErrorType, type StringToHexErrorType } from '../encoding/toHex.js';
10
+ type PackedAbiType = SolidityAddress | SolidityBool | SolidityBytes | SolidityInt | SolidityString | SolidityArrayWithoutTuple;
11
+ type EncodePackedValues<TPackedAbiTypes extends readonly PackedAbiType[] | readonly unknown[]> = {
12
+ [K in keyof TPackedAbiTypes]: TPackedAbiTypes[K] extends AbiType ? AbiParameterToPrimitiveType<{
13
+ type: TPackedAbiTypes[K];
14
+ }> : unknown;
15
+ };
16
+ export type EncodePackedErrorType = AbiEncodingLengthMismatchErrorType | ConcatHexErrorType | EncodeErrorType | ErrorType;
17
+ export declare function encodePacked<const TPackedAbiTypes extends readonly PackedAbiType[] | readonly unknown[]>(types: TPackedAbiTypes, values: EncodePackedValues<TPackedAbiTypes>): Hex;
18
+ type EncodeErrorType = BoolToHexErrorType | BytesSizeMismatchErrorType | InvalidAddressErrorType | IsAddressErrorType | NumberToHexErrorType | PadErrorType | StringToHexErrorType | UnsupportedPackedAbiType | ErrorType;
19
+ export {};
20
+ //# sourceMappingURL=encodePacked.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"encodePacked.d.ts","sourceRoot":"","sources":["../../../utils/abi/encodePacked.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,OAAO,EAEP,eAAe,EACf,yBAAyB,EACzB,YAAY,EACZ,aAAa,EACb,WAAW,EACX,cAAc,EACf,MAAM,SAAS,CAAA;AAEhB,OAAO,EAEL,KAAK,kCAAkC,EAEvC,KAAK,0BAA0B,EAC/B,wBAAwB,EACzB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,EAAE,KAAK,kBAAkB,EAAa,MAAM,yBAAyB,CAAA;AAC5E,OAAO,EAAE,KAAK,kBAAkB,EAAa,MAAM,mBAAmB,CAAA;AACtE,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,gBAAgB,CAAA;AACvD,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAI1B,MAAM,sBAAsB,CAAA;AAG7B,KAAK,aAAa,GACd,eAAe,GACf,YAAY,GACZ,aAAa,GACb,WAAW,GACX,cAAc,GACd,yBAAyB,CAAA;AAE7B,KAAK,kBAAkB,CACrB,eAAe,SAAS,SAAS,aAAa,EAAE,GAAG,SAAS,OAAO,EAAE,IACnE;KACD,CAAC,IAAI,MAAM,eAAe,GAAG,eAAe,CAAC,CAAC,CAAC,SAAS,OAAO,GAC5D,2BAA2B,CAAC;QAAE,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,CAAA;KAAE,CAAC,GACzD,OAAO;CACZ,CAAA;AAED,MAAM,MAAM,qBAAqB,GAC7B,kCAAkC,GAClC,kBAAkB,GAClB,eAAe,GACf,SAAS,CAAA;AAEb,wBAAgB,YAAY,CAC1B,KAAK,CAAC,eAAe,SAAS,SAAS,aAAa,EAAE,GAAG,SAAS,OAAO,EAAE,EAC3E,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,kBAAkB,CAAC,eAAe,CAAC,GAAG,GAAG,CAc1E;AAED,KAAK,eAAe,GAChB,kBAAkB,GAClB,0BAA0B,GAC1B,uBAAuB,GACvB,kBAAkB,GAClB,oBAAoB,GACpB,YAAY,GACZ,oBAAoB,GACpB,wBAAwB,GACxB,SAAS,CAAA"}
@@ -0,0 +1,14 @@
1
+ import type { AbiParameter } from 'abitype';
2
+ import { type InvalidDefinitionTypeErrorType } from '../../errors/abi.js';
3
+ import type { ErrorType } from '../../errors/utils.js';
4
+ import type { AbiItem } from '../../types/contract.js';
5
+ export type FormatAbiItemErrorType = FormatAbiParamsErrorType | InvalidDefinitionTypeErrorType | ErrorType;
6
+ export declare function formatAbiItem(abiItem: AbiItem, { includeName }?: {
7
+ includeName?: boolean;
8
+ }): string;
9
+ export type FormatAbiParamsErrorType = ErrorType;
10
+ export declare function formatAbiParams(params: readonly AbiParameter[] | undefined, { includeName }?: {
11
+ includeName?: boolean;
12
+ }): string;
13
+ export type FormatAbiParamErrorType = ErrorType;
14
+ //# sourceMappingURL=formatAbiItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatAbiItem.d.ts","sourceRoot":"","sources":["../../../utils/abi/formatAbiItem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,EAEL,KAAK,8BAA8B,EACpC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEtD,MAAM,MAAM,sBAAsB,GAC9B,wBAAwB,GACxB,8BAA8B,GAC9B,SAAS,CAAA;AAEb,wBAAgB,aAAa,CAC3B,OAAO,EAAE,OAAO,EAChB,EAAE,WAAmB,EAAE,GAAE;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAO,UAUxD;AAED,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAAA;AAEhD,wBAAgB,eAAe,CAC7B,MAAM,EAAE,SAAS,YAAY,EAAE,GAAG,SAAS,EAC3C,EAAE,WAAmB,EAAE,GAAE;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAO,GACtD,MAAM,CAKR;AAED,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAAA"}
@@ -0,0 +1,10 @@
1
+ import type { ErrorType } from '../../errors/utils.js';
2
+ import type { AbiItem } from '../../types/contract.js';
3
+ export type FormatAbiItemWithArgsErrorType = ErrorType;
4
+ export declare function formatAbiItemWithArgs({ abiItem, args, includeFunctionName, includeName, }: {
5
+ abiItem: AbiItem;
6
+ args: readonly unknown[];
7
+ includeFunctionName?: boolean;
8
+ includeName?: boolean;
9
+ }): string | undefined;
10
+ //# sourceMappingURL=formatAbiItemWithArgs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatAbiItemWithArgs.d.ts","sourceRoot":"","sources":["../../../utils/abi/formatAbiItemWithArgs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAGtD,MAAM,MAAM,8BAA8B,GAAG,SAAS,CAAA;AAEtD,wBAAgB,qBAAqB,CAAC,EACpC,OAAO,EACP,IAAI,EACJ,mBAA0B,EAC1B,WAAmB,GACpB,EAAE;IACD,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,SAAS,OAAO,EAAE,CAAA;IACxB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,sBAYA"}
@@ -0,0 +1,22 @@
1
+ import type { Abi, AbiParameter } from 'abitype';
2
+ import type { ErrorType } from '../../errors/utils.js';
3
+ import type { AbiItem, AbiItemArgs, AbiItemName, ExtractAbiItemForArgs, Widen } from '../../types/contract.js';
4
+ import type { Hex } from '../../types/misc.js';
5
+ import type { UnionEvaluate } from '../../types/utils.js';
6
+ import { type IsHexErrorType } from '../../utils/data/isHex.js';
7
+ import { type GetFunctionSelectorErrorType } from '../../utils/hash/getFunctionSelector.js';
8
+ import { type IsAddressErrorType } from '../address/isAddress.js';
9
+ export type GetAbiItemParameters<abi extends Abi | readonly unknown[] = Abi, name extends AbiItemName<abi> = AbiItemName<abi>, args extends AbiItemArgs<abi, name> | undefined = AbiItemArgs<abi, name>, allArgs = AbiItemArgs<abi, name>, allNames = AbiItemName<abi>> = {
10
+ abi: abi;
11
+ name: allNames | (name extends allNames ? name : never) | Hex;
12
+ } & UnionEvaluate<readonly [] extends allArgs ? {
13
+ args?: allArgs | (abi extends Abi ? args extends allArgs ? Widen<args> : never : never) | undefined;
14
+ } : {
15
+ args?: allArgs | (Widen<args> & (args extends allArgs ? unknown : never)) | undefined;
16
+ }>;
17
+ export type GetAbiItemErrorType = IsArgOfTypeErrorType | IsHexErrorType | GetFunctionSelectorErrorType | ErrorType;
18
+ export type GetAbiItemReturnType<abi extends Abi | readonly unknown[] = Abi, name extends AbiItemName<abi> = AbiItemName<abi>, args extends AbiItemArgs<abi, name> | undefined = AbiItemArgs<abi, name>> = abi extends Abi ? Abi extends abi ? AbiItem | undefined : ExtractAbiItemForArgs<abi, name, args extends AbiItemArgs<abi, name> ? args : AbiItemArgs<abi, name>> : AbiItem | undefined;
19
+ export declare function getAbiItem<const abi extends Abi | readonly unknown[], name extends AbiItemName<abi>, args extends AbiItemArgs<abi, name> | undefined = undefined>(parameters: GetAbiItemParameters<abi, name, args>): GetAbiItemReturnType<abi, name, args>;
20
+ export type IsArgOfTypeErrorType = IsAddressErrorType | ErrorType;
21
+ export declare function isArgOfType(arg: unknown, abiParameter: AbiParameter): boolean;
22
+ //# sourceMappingURL=getAbiItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAbiItem.d.ts","sourceRoot":"","sources":["../../../utils/abi/getAbiItem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,YAAY,EAAW,MAAM,SAAS,CAAA;AAEzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EACV,OAAO,EACP,WAAW,EACX,WAAW,EACX,qBAAqB,EACrB,KAAK,EACN,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,KAAK,cAAc,EAAS,MAAM,2BAA2B,CAAA;AAEtE,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,yCAAyC,CAAA;AAChD,OAAO,EAAE,KAAK,kBAAkB,EAAa,MAAM,yBAAyB,CAAA;AAE5E,MAAM,MAAM,oBAAoB,CAC9B,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,GAAG,GAAG,EAC1C,IAAI,SAAS,WAAW,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC,GAAG,CAAC,EAChD,IAAI,SAAS,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,SAAS,GAAG,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,EAExE,OAAO,GAAG,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,EAChC,QAAQ,GAAG,WAAW,CAAC,GAAG,CAAC,IACzB;IACF,GAAG,EAAE,GAAG,CAAA;IACR,IAAI,EACA,QAAQ,GACR,CAAC,IAAI,SAAS,QAAQ,GAAG,IAAI,GAAG,KAAK,CAAC,GACtC,GAAG,CAAA;CACR,GAAG,aAAa,CACf,SAAS,EAAE,SAAS,OAAO,GACvB;IACE,IAAI,CAAC,EACD,OAAO,GAEP,CAAC,GAAG,SAAS,GAAG,GACZ,IAAI,SAAS,OAAO,GAClB,KAAK,CAAC,IAAI,CAAC,GACX,KAAK,GACP,KAAK,CAAC,GACV,SAAS,CAAA;CACd,GACD;IACE,IAAI,CAAC,EACD,OAAO,GACP,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,SAAS,OAAO,GAAG,OAAO,GAAG,KAAK,CAAC,CAAC,GACxD,SAAS,CAAA;CACd,CACN,CAAA;AAED,MAAM,MAAM,mBAAmB,GAC3B,oBAAoB,GACpB,cAAc,GACd,4BAA4B,GAC5B,SAAS,CAAA;AAEb,MAAM,MAAM,oBAAoB,CAC9B,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,GAAG,GAAG,EAC1C,IAAI,SAAS,WAAW,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC,GAAG,CAAC,EAChD,IAAI,SAAS,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,SAAS,GAAG,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,IACtE,GAAG,SAAS,GAAG,GACf,GAAG,SAAS,GAAG,GACb,OAAO,GAAG,SAAS,GACnB,qBAAqB,CACnB,GAAG,EACH,IAAI,EACJ,IAAI,SAAS,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,IAAI,GAAG,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,CACpE,GACH,OAAO,GAAG,SAAS,CAAA;AAEvB,wBAAgB,UAAU,CACxB,KAAK,CAAC,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,EAC1C,IAAI,SAAS,WAAW,CAAC,GAAG,CAAC,EAC7B,IAAI,SAAS,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,EAE3D,UAAU,EAAE,oBAAoB,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,GAChD,oBAAoB,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAqCvC;AAED,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,GAAG,SAAS,CAAA;AAEjE,wBAAgB,WAAW,CAAC,GAAG,EAAE,OAAO,EAAE,YAAY,EAAE,YAAY,GAAG,OAAO,CAuD7E"}
@@ -0,0 +1,43 @@
1
+ import type { Abi } from 'abitype';
2
+ import type { ErrorType } from '../../errors/utils.js';
3
+ import { type RpcLog } from '../../index.js';
4
+ import type { ContractEventName } from '../../types/contract.js';
5
+ import type { Log } from '../../types/log.js';
6
+ import { type DecodeEventLogErrorType } from './decodeEventLog.js';
7
+ export type ParseEventLogsParameters<abi extends Abi | readonly unknown[] = Abi, eventName extends ContractEventName<abi> | ContractEventName<abi>[] | undefined = ContractEventName<abi>, strict extends boolean | undefined = boolean | undefined> = {
8
+ /** Contract ABI. */
9
+ abi: abi;
10
+ /** Contract event. */
11
+ eventName?: eventName | ContractEventName<abi> | ContractEventName<abi>[] | undefined;
12
+ /** List of logs. */
13
+ logs: (Log | RpcLog)[];
14
+ strict?: strict | boolean | undefined;
15
+ };
16
+ export type ParseEventLogsReturnType<abi extends Abi | readonly unknown[] = Abi, eventName extends ContractEventName<abi> | ContractEventName<abi>[] | undefined = ContractEventName<abi>, strict extends boolean | undefined = boolean | undefined, derivedEventName extends ContractEventName<abi> | undefined = eventName extends ContractEventName<abi>[] ? eventName[number] : eventName> = Log<bigint, number, false, undefined, strict, abi, derivedEventName>[];
17
+ export type ParseEventLogsErrorType = DecodeEventLogErrorType | ErrorType;
18
+ /**
19
+ * Extracts & decodes logs matching the provided signature(s) (`abi` + optional `eventName`)
20
+ * from a set of opaque logs.
21
+ *
22
+ * @param parameters - {@link ParseEventLogsParameters}
23
+ * @returns The logs. {@link ParseEventLogsReturnType}
24
+ *
25
+ * @example
26
+ * import { createClient, http } from 'viem'
27
+ * import { mainnet } from 'viem/chains'
28
+ * import { parseEventLogs } from 'viem/op-stack'
29
+ *
30
+ * const client = createClient({
31
+ * chain: mainnet,
32
+ * transport: http(),
33
+ * })
34
+ *
35
+ * const receipt = await getTransactionReceipt(client, {
36
+ * hash: '0xec23b2ba4bc59ba61554507c1b1bc91649e6586eb2dd00c728e8ed0db8bb37ea',
37
+ * })
38
+ *
39
+ * const logs = parseEventLogs({ logs: receipt.logs })
40
+ * // [{ args: { ... }, eventName: 'TransactionDeposited', ... }, ...]
41
+ */
42
+ export declare function parseEventLogs<abi extends Abi | readonly unknown[], strict extends boolean | undefined = true, eventName extends ContractEventName<abi> | ContractEventName<abi>[] | undefined = undefined>({ abi, eventName, logs, strict, }: ParseEventLogsParameters<abi, eventName, strict>): ParseEventLogsReturnType<abi, eventName, strict>;
43
+ //# sourceMappingURL=parseEventLogs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseEventLogs.d.ts","sourceRoot":"","sources":["../../../utils/abi/parseEventLogs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAIL,KAAK,MAAM,EACZ,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAC7C,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,qBAAqB,CAAA;AAE5B,MAAM,MAAM,wBAAwB,CAClC,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,GAAG,GAAG,EAC1C,SAAS,SACL,iBAAiB,CAAC,GAAG,CAAC,GACtB,iBAAiB,CAAC,GAAG,CAAC,EAAE,GACxB,SAAS,GAAG,iBAAiB,CAAC,GAAG,CAAC,EACtC,MAAM,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,IACtD;IACF,oBAAoB;IACpB,GAAG,EAAE,GAAG,CAAA;IACR,sBAAsB;IACtB,SAAS,CAAC,EACN,SAAS,GACT,iBAAiB,CAAC,GAAG,CAAC,GACtB,iBAAiB,CAAC,GAAG,CAAC,EAAE,GACxB,SAAS,CAAA;IACb,oBAAoB;IACpB,IAAI,EAAE,CAAC,GAAG,GAAG,MAAM,CAAC,EAAE,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;CACtC,CAAA;AAED,MAAM,MAAM,wBAAwB,CAClC,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,GAAG,GAAG,EAC1C,SAAS,SACL,iBAAiB,CAAC,GAAG,CAAC,GACtB,iBAAiB,CAAC,GAAG,CAAC,EAAE,GACxB,SAAS,GAAG,iBAAiB,CAAC,GAAG,CAAC,EACtC,MAAM,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,EAExD,gBAAgB,SACZ,iBAAiB,CAAC,GAAG,CAAC,GACtB,SAAS,GAAG,SAAS,SAAS,iBAAiB,CAAC,GAAG,CAAC,EAAE,GACtD,SAAS,CAAC,MAAM,CAAC,GACjB,SAAS,IACX,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,gBAAgB,CAAC,EAAE,CAAA;AAE1E,MAAM,MAAM,uBAAuB,GAAG,uBAAuB,GAAG,SAAS,CAAA;AAEzE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,cAAc,CAC5B,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,EACpC,MAAM,SAAS,OAAO,GAAG,SAAS,GAAG,IAAI,EACzC,SAAS,SACL,iBAAiB,CAAC,GAAG,CAAC,GACtB,iBAAiB,CAAC,GAAG,CAAC,EAAE,GACxB,SAAS,GAAG,SAAS,EACzB,EACA,GAAG,EACH,SAAS,EACT,IAAI,EACJ,MAAa,GACd,EAAE,wBAAwB,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,GAAG,wBAAwB,CAC5E,GAAG,EACH,SAAS,EACT,MAAM,CACP,CAmCA"}
@@ -0,0 +1,3 @@
1
+ export { parseAccount } from '../accounts/utils/parseAccount.js';
2
+ export { publicKeyToAddress } from '../accounts/utils/publicKeyToAddress.js';
3
+ //# sourceMappingURL=accounts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../utils/accounts.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAA"}
@@ -0,0 +1,10 @@
1
+ import type { Address } from 'abitype';
2
+ import type { ErrorType } from '../../errors/utils.js';
3
+ import { type StringToBytesErrorType } from '../encoding/toBytes.js';
4
+ import { type Keccak256ErrorType } from '../hash/keccak256.js';
5
+ import { type IsAddressErrorType } from './isAddress.js';
6
+ export type ChecksumAddressErrorType = Keccak256ErrorType | StringToBytesErrorType | ErrorType;
7
+ export declare function checksumAddress(address_: Address, chainId?: number): Address;
8
+ export type GetAddressErrorType = ChecksumAddressErrorType | IsAddressErrorType | ErrorType;
9
+ export declare function getAddress(address: string, chainId?: number): Address;
10
+ //# sourceMappingURL=getAddress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAddress.d.ts","sourceRoot":"","sources":["../../../utils/address/getAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAGtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,KAAK,kBAAkB,EAAa,MAAM,sBAAsB,CAAA;AACzE,OAAO,EAAE,KAAK,kBAAkB,EAAa,MAAM,gBAAgB,CAAA;AAEnE,MAAM,MAAM,wBAAwB,GAChC,kBAAkB,GAClB,sBAAsB,GACtB,SAAS,CAAA;AAEb,wBAAgB,eAAe,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAmB5E;AAED,MAAM,MAAM,mBAAmB,GAC3B,wBAAwB,GACxB,kBAAkB,GAClB,SAAS,CAAA;AAEb,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAGrE"}
@@ -0,0 +1,35 @@
1
+ import type { Address } from 'abitype';
2
+ import type { ByteArray, Hex } from '../../types/misc.js';
3
+ import { type ConcatErrorType } from '../data/concat.js';
4
+ import { type IsBytesErrorType } from '../data/isBytes.js';
5
+ import { type PadErrorType } from '../data/pad.js';
6
+ import { type SliceErrorType } from '../data/slice.js';
7
+ import { type ToBytesErrorType } from '../encoding/toBytes.js';
8
+ import { type ToRlpErrorType } from '../encoding/toRlp.js';
9
+ import { type Keccak256ErrorType } from '../hash/keccak256.js';
10
+ import type { ErrorType } from '../../errors/utils.js';
11
+ import { type GetAddressErrorType } from './getAddress.js';
12
+ export type GetCreateAddressOptions = {
13
+ from: Address;
14
+ nonce: bigint;
15
+ };
16
+ export type GetCreate2AddressOptions = {
17
+ bytecode: ByteArray | Hex;
18
+ from: Address;
19
+ salt: ByteArray | Hex;
20
+ } | {
21
+ bytecodeHash: ByteArray | Hex;
22
+ from: Address;
23
+ salt: ByteArray | Hex;
24
+ };
25
+ export type GetContractAddressOptions = ({
26
+ opcode?: 'CREATE';
27
+ } & GetCreateAddressOptions) | ({
28
+ opcode: 'CREATE2';
29
+ } & GetCreate2AddressOptions);
30
+ export declare function getContractAddress(opts: GetContractAddressOptions): `0x${string}`;
31
+ export type GetCreateAddressErrorType = Keccak256ErrorType | GetAddressErrorType | ToBytesErrorType | ToRlpErrorType | ErrorType;
32
+ export declare function getCreateAddress(opts: GetCreateAddressOptions): `0x${string}`;
33
+ export type GetCreate2AddressErrorType = ConcatErrorType | Keccak256ErrorType | GetAddressErrorType | IsBytesErrorType | PadErrorType | SliceErrorType | ToBytesErrorType | ToRlpErrorType | ErrorType;
34
+ export declare function getCreate2Address(opts: GetCreate2AddressOptions): `0x${string}`;
35
+ //# sourceMappingURL=getContractAddress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getContractAddress.d.ts","sourceRoot":"","sources":["../../../utils/address/getContractAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,EAAE,KAAK,eAAe,EAAU,MAAM,mBAAmB,CAAA;AAChE,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,oBAAoB,CAAA;AACnE,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,KAAK,cAAc,EAAS,MAAM,kBAAkB,CAAA;AAC7D,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,KAAK,cAAc,EAAS,MAAM,sBAAsB,CAAA;AACjE,OAAO,EAAE,KAAK,kBAAkB,EAAa,MAAM,sBAAsB,CAAA;AAEzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAAE,KAAK,mBAAmB,EAAc,MAAM,iBAAiB,CAAA;AAEtE,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,wBAAwB,GAChC;IACE,QAAQ,EAAE,SAAS,GAAG,GAAG,CAAA;IACzB,IAAI,EAAE,OAAO,CAAA;IACb,IAAI,EAAE,SAAS,GAAG,GAAG,CAAA;CACtB,GACD;IACE,YAAY,EAAE,SAAS,GAAG,GAAG,CAAA;IAC7B,IAAI,EAAE,OAAO,CAAA;IACb,IAAI,EAAE,SAAS,GAAG,GAAG,CAAA;CACtB,CAAA;AAEL,MAAM,MAAM,yBAAyB,GACjC,CAAC;IACC,MAAM,CAAC,EAAE,QAAQ,CAAA;CAClB,GAAG,uBAAuB,CAAC,GAC5B,CAAC;IAAE,MAAM,EAAE,SAAS,CAAA;CAAE,GAAG,wBAAwB,CAAC,CAAA;AAEtD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,yBAAyB,iBAGjE;AAED,MAAM,MAAM,yBAAyB,GACjC,kBAAkB,GAClB,mBAAmB,GACnB,gBAAgB,GAChB,cAAc,GACd,SAAS,CAAA;AAEb,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,uBAAuB,iBAS7D;AAED,MAAM,MAAM,0BAA0B,GAClC,eAAe,GACf,kBAAkB,GAClB,mBAAmB,GACnB,gBAAgB,GAChB,YAAY,GACZ,cAAc,GACd,gBAAgB,GAChB,cAAc,GACd,SAAS,CAAA;AAEb,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,wBAAwB,iBAiB/D"}
@@ -0,0 +1,5 @@
1
+ import type { Address } from 'abitype';
2
+ import type { ErrorType } from '../../errors/utils.js';
3
+ export type IsAddressErrorType = ErrorType;
4
+ export declare function isAddress(address: string): address is Address;
5
+ //# sourceMappingURL=isAddress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isAddress.d.ts","sourceRoot":"","sources":["../../../utils/address/isAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAItD,MAAM,MAAM,kBAAkB,GAAG,SAAS,CAAA;AAE1C,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,IAAI,OAAO,CAE7D"}
@@ -0,0 +1,7 @@
1
+ import type { Address } from 'abitype';
2
+ import { type InvalidAddressErrorType } from '../../errors/address.js';
3
+ import type { ErrorType } from '../../errors/utils.js';
4
+ export type IsAddressEqualReturnType = boolean;
5
+ export type IsAddressEqualErrorType = InvalidAddressErrorType | ErrorType;
6
+ export declare function isAddressEqual(a: Address, b: Address): boolean;
7
+ //# sourceMappingURL=isAddressEqual.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isAddressEqual.d.ts","sourceRoot":"","sources":["../../../utils/address/isAddressEqual.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGtD,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAA;AAC9C,MAAM,MAAM,uBAAuB,GAAG,uBAAuB,GAAG,SAAS,CAAA;AAEzE,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,WAIpD"}
@@ -0,0 +1,11 @@
1
+ import { type HttpRequestErrorType, type RpcRequestErrorType, type TimeoutErrorType, type WebSocketRequestErrorType } from '../errors/request.js';
2
+ import { type ChainDisconnectedErrorType, type InternalRpcErrorType, type InvalidInputRpcErrorType, type InvalidParamsRpcErrorType, type InvalidRequestRpcErrorType, type JsonRpcVersionUnsupportedErrorType, type LimitExceededRpcErrorType, type MethodNotFoundRpcErrorType, type MethodNotSupportedRpcErrorType, type ParseRpcErrorType, type ProviderDisconnectedErrorType, type ResourceNotFoundRpcErrorType, type ResourceUnavailableRpcErrorType, type RpcErrorType, type SwitchChainErrorType, type TransactionRejectedRpcErrorType, type UnauthorizedProviderErrorType, type UnknownRpcErrorType, type UnsupportedProviderMethodErrorType, type UserRejectedRequestErrorType } from '../errors/rpc.js';
3
+ import type { ErrorType } from '../errors/utils.js';
4
+ import type { EIP1193RequestFn, EIP1193RequestOptions } from '../types/eip1193.js';
5
+ import type { CreateBatchSchedulerErrorType } from './promise/createBatchScheduler.js';
6
+ import { type WithRetryErrorType } from './promise/withRetry.js';
7
+ import type { GetSocketErrorType } from './rpc.js';
8
+ export type RequestErrorType = ChainDisconnectedErrorType | CreateBatchSchedulerErrorType | HttpRequestErrorType | InternalRpcErrorType | InvalidInputRpcErrorType | InvalidParamsRpcErrorType | InvalidRequestRpcErrorType | GetSocketErrorType | JsonRpcVersionUnsupportedErrorType | LimitExceededRpcErrorType | MethodNotFoundRpcErrorType | MethodNotSupportedRpcErrorType | ParseRpcErrorType | ProviderDisconnectedErrorType | ResourceNotFoundRpcErrorType | ResourceUnavailableRpcErrorType | RpcErrorType | RpcRequestErrorType | SwitchChainErrorType | TimeoutErrorType | TransactionRejectedRpcErrorType | UnauthorizedProviderErrorType | UnknownRpcErrorType | UnsupportedProviderMethodErrorType | UserRejectedRequestErrorType | WebSocketRequestErrorType | WithRetryErrorType | ErrorType;
9
+ export declare function buildRequest<request extends (args: any) => Promise<any>>(request: request, options?: EIP1193RequestOptions): EIP1193RequestFn;
10
+ export declare function shouldRetry(error: Error): boolean;
11
+ //# sourceMappingURL=buildRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildRequest.d.ts","sourceRoot":"","sources":["../../utils/buildRequest.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC/B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAEL,KAAK,0BAA0B,EAE/B,KAAK,oBAAoB,EAEzB,KAAK,wBAAwB,EAE7B,KAAK,yBAAyB,EAE9B,KAAK,0BAA0B,EAE/B,KAAK,kCAAkC,EAEvC,KAAK,yBAAyB,EAE9B,KAAK,0BAA0B,EAE/B,KAAK,8BAA8B,EAEnC,KAAK,iBAAiB,EAEtB,KAAK,6BAA6B,EAGlC,KAAK,4BAA4B,EAEjC,KAAK,+BAA+B,EAGpC,KAAK,YAAY,EAEjB,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EAEpC,KAAK,6BAA6B,EAElC,KAAK,mBAAmB,EAExB,KAAK,kCAAkC,EAEvC,KAAK,4BAA4B,EAClC,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,EACV,gBAAgB,EAChB,qBAAqB,EACtB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAA;AACtF,OAAO,EAAE,KAAK,kBAAkB,EAAa,MAAM,wBAAwB,CAAA;AAC3E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,MAAM,gBAAgB,GACxB,0BAA0B,GAC1B,6BAA6B,GAC7B,oBAAoB,GACpB,oBAAoB,GACpB,wBAAwB,GACxB,yBAAyB,GACzB,0BAA0B,GAC1B,kBAAkB,GAClB,kCAAkC,GAClC,yBAAyB,GACzB,0BAA0B,GAC1B,8BAA8B,GAC9B,iBAAiB,GACjB,6BAA6B,GAC7B,4BAA4B,GAC5B,+BAA+B,GAC/B,YAAY,GACZ,mBAAmB,GACnB,oBAAoB,GACpB,gBAAgB,GAChB,+BAA+B,GAC/B,6BAA6B,GAC7B,mBAAmB,GACnB,kCAAkC,GAClC,4BAA4B,GAC5B,yBAAyB,GACzB,kBAAkB,GAClB,SAAS,CAAA;AAEb,wBAAgB,YAAY,CAAC,OAAO,SAAS,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,EACtE,OAAO,EAAE,OAAO,EAChB,OAAO,GAAE,qBAA0B,GAClC,gBAAgB,CA+FlB;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,WA2BvC"}
@@ -0,0 +1,40 @@
1
+ import type { Address } from 'abitype';
2
+ import { type CallParameters } from '../actions/public/call.js';
3
+ import type { Transport } from '../clients/transports/createTransport.js';
4
+ import type { Chain } from '../types/chain.js';
5
+ import type { Hex } from '../types/misc.js';
6
+ import type { Client } from '../clients/createClient.js';
7
+ import type { ErrorType } from '../errors/utils.js';
8
+ export declare const offchainLookupSignature = "0x556f1830";
9
+ export declare const offchainLookupAbiItem: {
10
+ readonly name: "OffchainLookup";
11
+ readonly type: "error";
12
+ readonly inputs: readonly [{
13
+ readonly name: "sender";
14
+ readonly type: "address";
15
+ }, {
16
+ readonly name: "urls";
17
+ readonly type: "string[]";
18
+ }, {
19
+ readonly name: "callData";
20
+ readonly type: "bytes";
21
+ }, {
22
+ readonly name: "callbackFunction";
23
+ readonly type: "bytes4";
24
+ }, {
25
+ readonly name: "extraData";
26
+ readonly type: "bytes";
27
+ }];
28
+ };
29
+ export type OffchainLookupErrorType = ErrorType;
30
+ export declare function offchainLookup<TChain extends Chain | undefined>(client: Client<Transport, TChain>, { blockNumber, blockTag, data, to, }: Pick<CallParameters, 'blockNumber' | 'blockTag'> & {
31
+ data: Hex;
32
+ to: Address;
33
+ }): Promise<Hex>;
34
+ export type CcipFetchErrorType = ErrorType;
35
+ export declare function ccipFetch({ data, sender, urls, }: {
36
+ data: Hex;
37
+ sender: Address;
38
+ urls: readonly string[];
39
+ }): Promise<`0x${string}`>;
40
+ //# sourceMappingURL=ccip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ccip.d.ts","sourceRoot":"","sources":["../../utils/ccip.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAO,OAAO,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,EAAE,KAAK,cAAc,EAAQ,MAAM,2BAA2B,CAAA;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAA;AAQzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAE3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAQnD,eAAO,MAAM,uBAAuB,eAAe,CAAA;AACnD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;CAyBF,CAAA;AAEhC,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAAA;AAE/C,wBAAsB,cAAc,CAAC,MAAM,SAAS,KAAK,GAAG,SAAS,EACnE,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,EACjC,EACE,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,EAAE,GACH,EAAE,IAAI,CAAC,cAAc,EAAE,aAAa,GAAG,UAAU,CAAC,GAAG;IACpD,IAAI,EAAE,GAAG,CAAA;IACT,EAAE,EAAE,OAAO,CAAA;CACZ,GACA,OAAO,CAAC,GAAG,CAAC,CAqCd;AAED,MAAM,MAAM,kBAAkB,GAAG,SAAS,CAAA;AAE1C,wBAAsB,SAAS,CAAC,EAC9B,IAAI,EACJ,MAAM,EACN,IAAI,GACL,EAAE;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,0BA0DzD"}
@@ -0,0 +1,10 @@
1
+ import { type ChainMismatchErrorType, type ChainNotFoundErrorType } from '../../errors/chain.js';
2
+ import type { ErrorType } from '../../errors/utils.js';
3
+ import type { Chain } from '../../types/chain.js';
4
+ export type AssertCurrentChainParameters = {
5
+ chain?: Chain;
6
+ currentChainId: number;
7
+ };
8
+ export type AssertCurrentChainErrorType = ChainNotFoundErrorType | ChainMismatchErrorType | ErrorType;
9
+ export declare function assertCurrentChain({ chain, currentChainId, }: AssertCurrentChainParameters): void;
10
+ //# sourceMappingURL=assertCurrentChain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assertCurrentChain.d.ts","sourceRoot":"","sources":["../../../utils/chain/assertCurrentChain.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,sBAAsB,EAE3B,KAAK,sBAAsB,EAC5B,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAEjD,MAAM,MAAM,4BAA4B,GAAG;IACzC,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,cAAc,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,2BAA2B,GACnC,sBAAsB,GACtB,sBAAsB,GACtB,SAAS,CAAA;AAEb,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,cAAc,GACf,EAAE,4BAA4B,GAAG,IAAI,CAIrC"}
@@ -0,0 +1,4 @@
1
+ import type { Chain, ChainFormatters } from '../../types/chain.js';
2
+ import type { Assign, Prettify } from '../../types/utils.js';
3
+ export declare function defineChain<formatters extends ChainFormatters, const chain extends Chain<formatters>>(chain: chain): Prettify<Assign<Chain<undefined>, chain>>;
4
+ //# sourceMappingURL=defineChain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defineChain.d.ts","sourceRoot":"","sources":["../../../utils/chain/defineChain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAClE,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAE5D,wBAAgB,WAAW,CACzB,UAAU,SAAS,eAAe,EAClC,KAAK,CAAC,KAAK,SAAS,KAAK,CAAC,UAAU,CAAC,EACrC,KAAK,EAAE,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,KAAK,CAAC,CAAC,CAOzD"}
@@ -0,0 +1,10 @@
1
+ import type { ErrorType } from '../../errors/utils.js';
2
+ import type { Chain, ExtractChain } from '../../types/chain.js';
3
+ export type ExtractChainParameters<chains extends readonly Chain[], chainId extends chains[number]['id']> = {
4
+ chains: chains;
5
+ id: chainId | chains[number]['id'];
6
+ };
7
+ export type ExtractChainReturnType<chains extends readonly Chain[], chainId extends chains[number]['id']> = ExtractChain<chains, chainId>;
8
+ export type ExtractChainErrorType = ErrorType;
9
+ export declare function extractChain<const chains extends readonly Chain[], chainId extends chains[number]['id']>({ chains, id, }: ExtractChainParameters<chains, chainId>): ExtractChainReturnType<chains, chainId>;
10
+ //# sourceMappingURL=extractChain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extractChain.d.ts","sourceRoot":"","sources":["../../../utils/chain/extractChain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAE/D,MAAM,MAAM,sBAAsB,CAChC,MAAM,SAAS,SAAS,KAAK,EAAE,EAC/B,OAAO,SAAS,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAClC;IACF,MAAM,EAAE,MAAM,CAAA;IACd,EAAE,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAA;CACnC,CAAA;AAED,MAAM,MAAM,sBAAsB,CAChC,MAAM,SAAS,SAAS,KAAK,EAAE,EAC/B,OAAO,SAAS,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAClC,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAEjC,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAA;AAE7C,wBAAgB,YAAY,CAC1B,KAAK,CAAC,MAAM,SAAS,SAAS,KAAK,EAAE,EACrC,OAAO,SAAS,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EACpC,EACA,MAAM,EACN,EAAE,GACH,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,sBAAsB,CACjE,MAAM,EACN,OAAO,CACR,CAKA"}
@@ -0,0 +1,9 @@
1
+ import { type ChainDoesNotSupportContractErrorType } from '../../errors/chain.js';
2
+ import type { Chain } from '../../types/chain.js';
3
+ export type GetChainContractAddressErrorType = ChainDoesNotSupportContractErrorType;
4
+ export declare function getChainContractAddress({ blockNumber, chain, contract: name, }: {
5
+ blockNumber?: bigint;
6
+ chain: Chain;
7
+ contract: string;
8
+ }): `0x${string}`;
9
+ //# sourceMappingURL=getChainContractAddress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getChainContractAddress.d.ts","sourceRoot":"","sources":["../../../utils/chain/getChainContractAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,oCAAoC,EAC1C,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EAAE,KAAK,EAAiB,MAAM,sBAAsB,CAAA;AAEhE,MAAM,MAAM,gCAAgC,GAC1C,oCAAoC,CAAA;AAEtC,wBAAgB,uBAAuB,CAAC,EACtC,WAAW,EACX,KAAK,EACL,QAAQ,EAAE,IAAI,GACf,EAAE;IACD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,KAAK,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;CACjB,iBAuBA"}
@@ -0,0 +1,37 @@
1
+ import { NegativeOffsetError, PositionOutOfBoundsError } from '../errors/cursor.js';
2
+ import type { ErrorType } from '../errors/utils.js';
3
+ import type { ByteArray } from '../types/misc.js';
4
+ export type Cursor = {
5
+ bytes: ByteArray;
6
+ dataView: DataView;
7
+ position: number;
8
+ assertPosition(position: number): void;
9
+ decrementPosition(offset: number): void;
10
+ incrementPosition(offset: number): void;
11
+ inspectByte(position?: number): ByteArray[number];
12
+ inspectBytes(length: number, position?: number): ByteArray;
13
+ inspectUint8(position?: number): number;
14
+ inspectUint16(position?: number): number;
15
+ inspectUint24(position?: number): number;
16
+ inspectUint32(position?: number): number;
17
+ pushByte(byte: ByteArray[number]): void;
18
+ pushBytes(bytes: ByteArray): void;
19
+ pushUint8(value: number): void;
20
+ pushUint16(value: number): void;
21
+ pushUint24(value: number): void;
22
+ pushUint32(value: number): void;
23
+ readByte(): ByteArray[number];
24
+ readBytes(length: number): ByteArray;
25
+ readUint8(): number;
26
+ readUint16(): number;
27
+ readUint24(): number;
28
+ readUint32(): number;
29
+ setPosition(position: number): void;
30
+ };
31
+ export type CreateCursorErrorType = ErrorType;
32
+ export type CursorErrorType = CursorAssertPositionErrorType | CursorDecrementPositionErrorType | CursorIncrementPositionErrorType | ErrorType;
33
+ export type CursorAssertPositionErrorType = PositionOutOfBoundsError | ErrorType;
34
+ export type CursorDecrementPositionErrorType = NegativeOffsetError | ErrorType;
35
+ export type CursorIncrementPositionErrorType = NegativeOffsetError | ErrorType;
36
+ export declare function createCursor(bytes: ByteArray): Cursor;
37
+ //# sourceMappingURL=cursor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../utils/cursor.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACzB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAEjD,MAAM,MAAM,MAAM,GAAG;IACnB,KAAK,EAAE,SAAS,CAAA;IAChB,QAAQ,EAAE,QAAQ,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACvC,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACvC,WAAW,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC,MAAM,CAAC,CAAA;IACjD,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1D,YAAY,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvC,aAAa,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxC,aAAa,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxC,aAAa,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxC,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;IACvC,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,CAAA;IACjC,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,QAAQ,IAAI,SAAS,CAAC,MAAM,CAAC,CAAA;IAC7B,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IACpC,SAAS,IAAI,MAAM,CAAA;IACnB,UAAU,IAAI,MAAM,CAAA;IACpB,UAAU,IAAI,MAAM,CAAA;IACpB,UAAU,IAAI,MAAM,CAAA;IACpB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;CACpC,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAA;AAE7C,MAAM,MAAM,eAAe,GACvB,6BAA6B,GAC7B,gCAAgC,GAChC,gCAAgC,GAChC,SAAS,CAAA;AAEb,MAAM,MAAM,6BAA6B,GAAG,wBAAwB,GAAG,SAAS,CAAA;AAEhF,MAAM,MAAM,gCAAgC,GAAG,mBAAmB,GAAG,SAAS,CAAA;AAE9E,MAAM,MAAM,gCAAgC,GAAG,mBAAmB,GAAG,SAAS,CAAA;AA6H9E,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CASrD"}
@@ -0,0 +1,10 @@
1
+ import type { ErrorType } from '../../errors/utils.js';
2
+ import type { ByteArray, Hex } from '../../types/misc.js';
3
+ export type ConcatReturnType<TValue extends Hex | ByteArray> = TValue extends Hex ? Hex : ByteArray;
4
+ export type ConcatErrorType = ConcatBytesErrorType | ConcatHexErrorType | ErrorType;
5
+ export declare function concat<TValue extends Hex | ByteArray>(values: readonly TValue[]): ConcatReturnType<TValue>;
6
+ export type ConcatBytesErrorType = ErrorType;
7
+ export declare function concatBytes(values: readonly ByteArray[]): ByteArray;
8
+ export type ConcatHexErrorType = ErrorType;
9
+ export declare function concatHex(values: readonly Hex[]): Hex;
10
+ //# sourceMappingURL=concat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"concat.d.ts","sourceRoot":"","sources":["../../../utils/data/concat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAEzD,MAAM,MAAM,gBAAgB,CAAC,MAAM,SAAS,GAAG,GAAG,SAAS,IACzD,MAAM,SAAS,GAAG,GAAG,GAAG,GAAG,SAAS,CAAA;AAEtC,MAAM,MAAM,eAAe,GACvB,oBAAoB,GACpB,kBAAkB,GAClB,SAAS,CAAA;AAEb,wBAAgB,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,SAAS,EACnD,MAAM,EAAE,SAAS,MAAM,EAAE,GACxB,gBAAgB,CAAC,MAAM,CAAC,CAI1B;AAED,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAA;AAE5C,wBAAgB,WAAW,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,GAAG,SAAS,CAYnE;AAED,MAAM,MAAM,kBAAkB,GAAG,SAAS,CAAA;AAE1C,wBAAgB,SAAS,CAAC,MAAM,EAAE,SAAS,GAAG,EAAE,GAAG,GAAG,CAKrD"}
@@ -0,0 +1,5 @@
1
+ import type { ErrorType } from '../../errors/utils.js';
2
+ import type { ByteArray } from '../../types/misc.js';
3
+ export type IsBytesErrorType = ErrorType;
4
+ export declare function isBytes(value: unknown): value is ByteArray;
5
+ //# sourceMappingURL=isBytes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isBytes.d.ts","sourceRoot":"","sources":["../../../utils/data/isBytes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAEpD,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAA;AAExC,wBAAgB,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,SAAS,CAO1D"}
@@ -0,0 +1,7 @@
1
+ import type { ErrorType } from '../../errors/utils.js';
2
+ import type { ByteArray, Hex } from '../../types/misc.js';
3
+ import { type ToBytesErrorType } from '../encoding/toBytes.js';
4
+ import { type IsHexErrorType } from './isHex.js';
5
+ export type IsBytesEqualErrorType = IsHexErrorType | ToBytesErrorType | ErrorType;
6
+ export declare function isBytesEqual(a_: ByteArray | Hex, b_: ByteArray | Hex): boolean;
7
+ //# sourceMappingURL=isBytesEqual.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isBytesEqual.d.ts","sourceRoot":"","sources":["../../../utils/data/isBytesEqual.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,KAAK,cAAc,EAAS,MAAM,YAAY,CAAA;AAEvD,MAAM,MAAM,qBAAqB,GAC7B,cAAc,GACd,gBAAgB,GAChB,SAAS,CAAA;AAEb,wBAAgB,YAAY,CAAC,EAAE,EAAE,SAAS,GAAG,GAAG,EAAE,EAAE,EAAE,SAAS,GAAG,GAAG,WAIpE"}
@@ -0,0 +1,7 @@
1
+ import type { ErrorType } from '../../errors/utils.js';
2
+ import type { Hex } from '../../types/misc.js';
3
+ export type IsHexErrorType = ErrorType;
4
+ export declare function isHex(value: unknown, { strict }?: {
5
+ strict?: boolean;
6
+ }): value is Hex;
7
+ //# sourceMappingURL=isHex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isHex.d.ts","sourceRoot":"","sources":["../../../utils/data/isHex.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAE9C,MAAM,MAAM,cAAc,GAAG,SAAS,CAAA;AAEtC,wBAAgB,KAAK,CACnB,KAAK,EAAE,OAAO,EACd,EAAE,MAAa,EAAE,GAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAO,GAC3C,KAAK,IAAI,GAAG,CAId"}
@@ -0,0 +1,16 @@
1
+ import { type SizeExceedsPaddingSizeErrorType } from '../../errors/data.js';
2
+ import type { ErrorType } from '../../errors/utils.js';
3
+ import type { ByteArray, Hex } from '../../types/misc.js';
4
+ type PadOptions = {
5
+ dir?: 'left' | 'right';
6
+ size?: number | null;
7
+ };
8
+ export type PadReturnType<TValue extends ByteArray | Hex> = TValue extends Hex ? Hex : ByteArray;
9
+ export type PadErrorType = PadHexErrorType | PadBytesErrorType | ErrorType;
10
+ export declare function pad<TValue extends ByteArray | Hex>(hexOrBytes: TValue, { dir, size }?: PadOptions): PadReturnType<TValue>;
11
+ export type PadHexErrorType = SizeExceedsPaddingSizeErrorType | ErrorType;
12
+ export declare function padHex(hex_: Hex, { dir, size }?: PadOptions): `0x${string}`;
13
+ export type PadBytesErrorType = SizeExceedsPaddingSizeErrorType | ErrorType;
14
+ export declare function padBytes(bytes: ByteArray, { dir, size }?: PadOptions): Uint8Array;
15
+ export {};
16
+ //# sourceMappingURL=pad.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pad.d.ts","sourceRoot":"","sources":["../../../utils/data/pad.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,+BAA+B,EACrC,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAEzD,KAAK,UAAU,GAAG;IAChB,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB,CAAA;AACD,MAAM,MAAM,aAAa,CAAC,MAAM,SAAS,SAAS,GAAG,GAAG,IAAI,MAAM,SAAS,GAAG,GAC1E,GAAG,GACH,SAAS,CAAA;AAEb,MAAM,MAAM,YAAY,GAAG,eAAe,GAAG,iBAAiB,GAAG,SAAS,CAAA;AAE1E,wBAAgB,GAAG,CAAC,MAAM,SAAS,SAAS,GAAG,GAAG,EAChD,UAAU,EAAE,MAAM,EAClB,EAAE,GAAG,EAAE,IAAS,EAAE,GAAE,UAAe,GAClC,aAAa,CAAC,MAAM,CAAC,CAIvB;AAED,MAAM,MAAM,eAAe,GAAG,+BAA+B,GAAG,SAAS,CAAA;AAEzE,wBAAgB,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,GAAG,EAAE,IAAS,EAAE,GAAE,UAAe,iBAcpE;AAED,MAAM,MAAM,iBAAiB,GAAG,+BAA+B,GAAG,SAAS,CAAA;AAE3E,wBAAgB,QAAQ,CACtB,KAAK,EAAE,SAAS,EAChB,EAAE,GAAG,EAAE,IAAS,EAAE,GAAE,UAAe,cAgBpC"}
@@ -0,0 +1,12 @@
1
+ import type { ErrorType } from '../../errors/utils.js';
2
+ import type { ByteArray, Hex } from '../../types/misc.js';
3
+ import { type IsHexErrorType } from './isHex.js';
4
+ export type SizeErrorType = IsHexErrorType | ErrorType;
5
+ /**
6
+ * @description Retrieves the size of the value (in bytes).
7
+ *
8
+ * @param value The value (hex or byte array) to retrieve the size of.
9
+ * @returns The size of the value (in bytes).
10
+ */
11
+ export declare function size(value: Hex | ByteArray): number;
12
+ //# sourceMappingURL=size.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"size.d.ts","sourceRoot":"","sources":["../../../utils/data/size.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAEzD,OAAO,EAAE,KAAK,cAAc,EAAS,MAAM,YAAY,CAAA;AAEvD,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,SAAS,CAAA;AAEtD;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,GAAG,GAAG,SAAS,UAG1C"}
@@ -0,0 +1,42 @@
1
+ import { type SliceOffsetOutOfBoundsErrorType } from '../../errors/data.js';
2
+ import type { ErrorType } from '../../errors/utils.js';
3
+ import type { ByteArray, Hex } from '../../types/misc.js';
4
+ import { type IsHexErrorType } from './isHex.js';
5
+ import { type SizeErrorType } from './size.js';
6
+ export type SliceReturnType<TValue extends ByteArray | Hex> = TValue extends Hex ? Hex : ByteArray;
7
+ export type SliceErrorType = IsHexErrorType | SliceBytesErrorType | SliceHexErrorType | ErrorType;
8
+ /**
9
+ * @description Returns a section of the hex or byte array given a start/end bytes offset.
10
+ *
11
+ * @param value The hex or byte array to slice.
12
+ * @param start The start offset (in bytes).
13
+ * @param end The end offset (in bytes).
14
+ */
15
+ export declare function slice<TValue extends ByteArray | Hex>(value: TValue, start?: number, end?: number, { strict }?: {
16
+ strict?: boolean;
17
+ }): SliceReturnType<TValue>;
18
+ export type AssertStartOffsetErrorType = SliceOffsetOutOfBoundsErrorType | SizeErrorType | ErrorType;
19
+ export type AssertEndOffsetErrorType = SliceOffsetOutOfBoundsErrorType | SizeErrorType | ErrorType;
20
+ export type SliceBytesErrorType = AssertStartOffsetErrorType | AssertEndOffsetErrorType | ErrorType;
21
+ /**
22
+ * @description Returns a section of the byte array given a start/end bytes offset.
23
+ *
24
+ * @param value The byte array to slice.
25
+ * @param start The start offset (in bytes).
26
+ * @param end The end offset (in bytes).
27
+ */
28
+ export declare function sliceBytes(value_: ByteArray, start?: number, end?: number, { strict }?: {
29
+ strict?: boolean;
30
+ }): ByteArray;
31
+ export type SliceHexErrorType = AssertStartOffsetErrorType | AssertEndOffsetErrorType | ErrorType;
32
+ /**
33
+ * @description Returns a section of the hex value given a start/end bytes offset.
34
+ *
35
+ * @param value The hex value to slice.
36
+ * @param start The start offset (in bytes).
37
+ * @param end The end offset (in bytes).
38
+ */
39
+ export declare function sliceHex(value_: Hex, start?: number, end?: number, { strict }?: {
40
+ strict?: boolean;
41
+ }): Hex;
42
+ //# sourceMappingURL=slice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../utils/data/slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,+BAA+B,EACrC,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAEzD,OAAO,EAAE,KAAK,cAAc,EAAS,MAAM,YAAY,CAAA;AACvD,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,WAAW,CAAA;AAEpD,MAAM,MAAM,eAAe,CAAC,MAAM,SAAS,SAAS,GAAG,GAAG,IAAI,MAAM,SAAS,GAAG,GAC5E,GAAG,GACH,SAAS,CAAA;AAEb,MAAM,MAAM,cAAc,GACtB,cAAc,GACd,mBAAmB,GACnB,iBAAiB,GACjB,SAAS,CAAA;AAEb;;;;;;GAMG;AACH,wBAAgB,KAAK,CAAC,MAAM,SAAS,SAAS,GAAG,GAAG,EAClD,KAAK,EAAE,MAAM,EACb,KAAK,CAAC,EAAE,MAAM,EACd,GAAG,CAAC,EAAE,MAAM,EACZ,EAAE,MAAM,EAAE,GAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAO,GACpC,eAAe,CAAC,MAAM,CAAC,CAQzB;AAED,MAAM,MAAM,0BAA0B,GAClC,+BAA+B,GAC/B,aAAa,GACb,SAAS,CAAA;AAWb,MAAM,MAAM,wBAAwB,GAChC,+BAA+B,GAC/B,aAAa,GACb,SAAS,CAAA;AAgBb,MAAM,MAAM,mBAAmB,GAC3B,0BAA0B,GAC1B,wBAAwB,GACxB,SAAS,CAAA;AAEb;;;;;;GAMG;AACH,wBAAgB,UAAU,CACxB,MAAM,EAAE,SAAS,EACjB,KAAK,CAAC,EAAE,MAAM,EACd,GAAG,CAAC,EAAE,MAAM,EACZ,EAAE,MAAM,EAAE,GAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAO,GACpC,SAAS,CAKX;AAED,MAAM,MAAM,iBAAiB,GACzB,0BAA0B,GAC1B,wBAAwB,GACxB,SAAS,CAAA;AAEb;;;;;;GAMG;AACH,wBAAgB,QAAQ,CACtB,MAAM,EAAE,GAAG,EACX,KAAK,CAAC,EAAE,MAAM,EACd,GAAG,CAAC,EAAE,MAAM,EACZ,EAAE,MAAM,EAAE,GAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAO,GACpC,GAAG,CAOL"}
@@ -0,0 +1,10 @@
1
+ import type { ErrorType } from '../../errors/utils.js';
2
+ import type { ByteArray, Hex } from '../../types/misc.js';
3
+ type TrimOptions = {
4
+ dir?: 'left' | 'right';
5
+ };
6
+ export type TrimReturnType<TValue extends ByteArray | Hex> = TValue extends Hex ? Hex : ByteArray;
7
+ export type TrimErrorType = ErrorType;
8
+ export declare function trim<TValue extends ByteArray | Hex>(hexOrBytes: TValue, { dir }?: TrimOptions): TrimReturnType<TValue>;
9
+ export {};
10
+ //# sourceMappingURL=trim.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trim.d.ts","sourceRoot":"","sources":["../../../utils/data/trim.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAEzD,KAAK,WAAW,GAAG;IACjB,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB,CAAA;AACD,MAAM,MAAM,cAAc,CAAC,MAAM,SAAS,SAAS,GAAG,GAAG,IAAI,MAAM,SAAS,GAAG,GAC3E,GAAG,GACH,SAAS,CAAA;AAEb,MAAM,MAAM,aAAa,GAAG,SAAS,CAAA;AAErC,wBAAgB,IAAI,CAAC,MAAM,SAAS,SAAS,GAAG,GAAG,EACjD,UAAU,EAAE,MAAM,EAClB,EAAE,GAAY,EAAE,GAAE,WAAgB,GACjC,cAAc,CAAC,MAAM,CAAC,CAsBxB"}