viem 2.0.0-beta.1 → 2.0.0-beta.3

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 (1111) hide show
  1. package/_cjs/errors/version.js +1 -1
  2. package/_esm/chains/celo/chainConfig.js +7 -0
  3. package/_esm/chains/celo/chainConfig.js.map +1 -0
  4. package/_esm/chains/celo/formatters.js +1 -1
  5. package/_esm/chains/celo/formatters.js.map +1 -1
  6. package/_esm/chains/celo/index.js +4 -0
  7. package/_esm/chains/celo/index.js.map +1 -0
  8. package/_esm/chains/celo/parsers.js +3 -3
  9. package/_esm/chains/celo/parsers.js.map +1 -1
  10. package/_esm/chains/celo/serializers.js +5 -5
  11. package/_esm/chains/celo/serializers.js.map +1 -1
  12. package/_esm/chains/definitions/base.js +3 -2
  13. package/_esm/chains/definitions/base.js.map +1 -1
  14. package/_esm/chains/definitions/baseGoerli.js +4 -3
  15. package/_esm/chains/definitions/baseGoerli.js.map +1 -1
  16. package/_esm/chains/definitions/baseSepolia.js +4 -3
  17. package/_esm/chains/definitions/baseSepolia.js.map +1 -1
  18. package/_esm/chains/definitions/celo.js +2 -4
  19. package/_esm/chains/definitions/celo.js.map +1 -1
  20. package/_esm/chains/definitions/celoAlfajores.js +2 -4
  21. package/_esm/chains/definitions/celoAlfajores.js.map +1 -1
  22. package/_esm/chains/definitions/celoCannoli.js +2 -4
  23. package/_esm/chains/definitions/celoCannoli.js.map +1 -1
  24. package/_esm/chains/definitions/optimism.js +3 -2
  25. package/_esm/chains/definitions/optimism.js.map +1 -1
  26. package/_esm/chains/definitions/optimismGoerli.js +3 -2
  27. package/_esm/chains/definitions/optimismGoerli.js.map +1 -1
  28. package/_esm/chains/definitions/optimismSepolia.js +3 -2
  29. package/_esm/chains/definitions/optimismSepolia.js.map +1 -1
  30. package/_esm/chains/definitions/zkSync.js +2 -4
  31. package/_esm/chains/definitions/zkSync.js.map +1 -1
  32. package/_esm/chains/definitions/zkSyncTestnet.js +2 -4
  33. package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
  34. package/_esm/chains/definitions/zora.js +3 -2
  35. package/_esm/chains/definitions/zora.js.map +1 -1
  36. package/_esm/chains/definitions/zoraSepolia.js +3 -2
  37. package/_esm/chains/definitions/zoraSepolia.js.map +1 -1
  38. package/_esm/chains/definitions/zoraTestnet.js +3 -2
  39. package/_esm/chains/definitions/zoraTestnet.js.map +1 -1
  40. package/_esm/chains/opStack/abis.js +74 -0
  41. package/_esm/chains/opStack/abis.js.map +1 -0
  42. package/_esm/chains/opStack/actions/estimateContractL1Fee.js +55 -0
  43. package/_esm/chains/opStack/actions/estimateContractL1Fee.js.map +1 -0
  44. package/_esm/chains/opStack/actions/estimateContractL1Gas.js +55 -0
  45. package/_esm/chains/opStack/actions/estimateContractL1Gas.js.map +1 -0
  46. package/_esm/chains/opStack/actions/estimateContractTotalFee.js +55 -0
  47. package/_esm/chains/opStack/actions/estimateContractTotalFee.js.map +1 -0
  48. package/_esm/chains/opStack/actions/estimateContractTotalGas.js +55 -0
  49. package/_esm/chains/opStack/actions/estimateContractTotalGas.js.map +1 -0
  50. package/_esm/chains/opStack/actions/estimateL1Fee.js +74 -0
  51. package/_esm/chains/opStack/actions/estimateL1Fee.js.map +1 -0
  52. package/_esm/chains/opStack/actions/estimateL1Gas.js +74 -0
  53. package/_esm/chains/opStack/actions/estimateL1Gas.js.map +1 -0
  54. package/_esm/chains/opStack/actions/estimateTotalFee.js +38 -0
  55. package/_esm/chains/opStack/actions/estimateTotalFee.js.map +1 -0
  56. package/_esm/chains/opStack/actions/estimateTotalGas.js +36 -0
  57. package/_esm/chains/opStack/actions/estimateTotalGas.js.map +1 -0
  58. package/_esm/chains/opStack/chainConfig.js +7 -0
  59. package/_esm/chains/opStack/chainConfig.js.map +1 -0
  60. package/_esm/chains/opStack/contracts.js +13 -0
  61. package/_esm/chains/opStack/contracts.js.map +1 -0
  62. package/_esm/chains/opStack/decorators/public.js +23 -0
  63. package/_esm/chains/opStack/decorators/public.js.map +1 -0
  64. package/_esm/chains/{optimism → opStack}/formatters.js +1 -1
  65. package/_esm/chains/opStack/formatters.js.map +1 -0
  66. package/_esm/chains/opStack/index.js +20 -0
  67. package/_esm/chains/opStack/index.js.map +1 -0
  68. package/{_cjs/accounts → _esm/chains/opStack}/types.js.map +1 -1
  69. package/_esm/chains/utils.js +0 -5
  70. package/_esm/chains/utils.js.map +1 -1
  71. package/_esm/chains/zksync/chainConfig.js +7 -0
  72. package/_esm/chains/zksync/chainConfig.js.map +1 -0
  73. package/_esm/chains/zksync/formatters.js +2 -2
  74. package/_esm/chains/zksync/formatters.js.map +1 -1
  75. package/_esm/chains/zksync/index.js +3 -0
  76. package/_esm/chains/zksync/index.js.map +1 -0
  77. package/_esm/chains/zksync/serializers.js +7 -7
  78. package/_esm/chains/zksync/serializers.js.map +1 -1
  79. package/_esm/errors/version.js +1 -1
  80. package/_types/chains/celo/chainConfig.d.ts +884 -0
  81. package/_types/chains/celo/chainConfig.d.ts.map +1 -0
  82. package/_types/chains/celo/formatters.d.ts +92 -92
  83. package/_types/chains/celo/formatters.d.ts.map +1 -1
  84. package/_types/chains/celo/index.d.ts +5 -0
  85. package/_types/chains/celo/index.d.ts.map +1 -0
  86. package/_types/chains/celo/parsers.d.ts +3 -3
  87. package/_types/chains/celo/parsers.d.ts.map +1 -1
  88. package/_types/chains/celo/serializers.d.ts +2 -2
  89. package/_types/chains/celo/serializers.d.ts.map +1 -1
  90. package/_types/chains/definitions/base.d.ts +92 -74
  91. package/_types/chains/definitions/base.d.ts.map +1 -1
  92. package/_types/chains/definitions/baseGoerli.d.ts +92 -74
  93. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  94. package/_types/chains/definitions/baseSepolia.d.ts +94 -82
  95. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  96. package/_types/chains/definitions/celo.d.ts +97 -97
  97. package/_types/chains/definitions/celo.d.ts.map +1 -1
  98. package/_types/chains/definitions/celoAlfajores.d.ts +97 -97
  99. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  100. package/_types/chains/definitions/celoCannoli.d.ts +97 -97
  101. package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
  102. package/_types/chains/definitions/optimism.d.ts +92 -74
  103. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  104. package/_types/chains/definitions/optimismGoerli.d.ts +92 -74
  105. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  106. package/_types/chains/definitions/optimismSepolia.d.ts +92 -74
  107. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
  108. package/_types/chains/definitions/zkSync.d.ts +13 -13
  109. package/_types/chains/definitions/zkSync.d.ts.map +1 -1
  110. package/_types/chains/definitions/zkSyncTestnet.d.ts +13 -13
  111. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  112. package/_types/chains/definitions/zora.d.ts +92 -74
  113. package/_types/chains/definitions/zora.d.ts.map +1 -1
  114. package/_types/chains/definitions/zoraSepolia.d.ts +92 -74
  115. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  116. package/_types/chains/definitions/zoraTestnet.d.ts +92 -74
  117. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  118. package/_types/chains/opStack/abis.d.ts +114 -0
  119. package/_types/chains/opStack/abis.d.ts.map +1 -0
  120. package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts +39 -0
  121. package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts.map +1 -0
  122. package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts +39 -0
  123. package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts.map +1 -0
  124. package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts +39 -0
  125. package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts.map +1 -0
  126. package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts +39 -0
  127. package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts.map +1 -0
  128. package/_types/chains/opStack/actions/estimateL1Fee.d.ts +43 -0
  129. package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +1 -0
  130. package/_types/chains/opStack/actions/estimateL1Gas.d.ts +43 -0
  131. package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +1 -0
  132. package/_types/chains/opStack/actions/estimateTotalFee.d.ts +37 -0
  133. package/_types/chains/opStack/actions/estimateTotalFee.d.ts.map +1 -0
  134. package/_types/chains/opStack/actions/estimateTotalGas.d.ts +36 -0
  135. package/_types/chains/opStack/actions/estimateTotalGas.d.ts.map +1 -0
  136. package/_types/chains/opStack/chainConfig.d.ts +521 -0
  137. package/_types/chains/opStack/chainConfig.d.ts.map +1 -0
  138. package/_types/chains/opStack/contracts.d.ts +21 -0
  139. package/_types/chains/opStack/contracts.d.ts.map +1 -0
  140. package/_types/chains/opStack/decorators/public.d.ts +214 -0
  141. package/_types/chains/opStack/decorators/public.d.ts.map +1 -0
  142. package/_types/chains/{optimism → opStack}/formatters.d.ts +76 -76
  143. package/_types/chains/{optimism → opStack}/formatters.d.ts.map +1 -1
  144. package/_types/chains/opStack/index.d.ts +21 -0
  145. package/_types/chains/opStack/index.d.ts.map +1 -0
  146. package/_types/chains/opStack/types.d.ts +53 -0
  147. package/_types/chains/opStack/types.d.ts.map +1 -0
  148. package/_types/chains/utils.d.ts +0 -8
  149. package/_types/chains/utils.d.ts.map +1 -1
  150. package/_types/chains/zksync/chainConfig.d.ts +490 -0
  151. package/_types/chains/zksync/chainConfig.d.ts.map +1 -0
  152. package/_types/chains/zksync/formatters.d.ts +1 -1
  153. package/_types/chains/zksync/formatters.d.ts.map +1 -1
  154. package/_types/chains/zksync/index.d.ts +4 -0
  155. package/_types/chains/zksync/index.d.ts.map +1 -0
  156. package/_types/chains/zksync/serializers.d.ts +2 -2
  157. package/_types/chains/zksync/serializers.d.ts.map +1 -1
  158. package/_types/errors/version.d.ts +1 -1
  159. package/_types/types/contract.d.ts +2 -1
  160. package/_types/types/contract.d.ts.map +1 -1
  161. package/_types/utils/formatters/transaction.d.ts +1 -1
  162. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  163. package/chains/celo/chainConfig.ts +7 -0
  164. package/chains/celo/formatters.ts +1 -1
  165. package/chains/celo/index.ts +35 -0
  166. package/chains/celo/package.json +6 -0
  167. package/chains/celo/parsers.ts +10 -12
  168. package/chains/celo/serializers.ts +5 -5
  169. package/chains/definitions/base.ts +3 -2
  170. package/chains/definitions/baseGoerli.ts +3 -2
  171. package/chains/definitions/baseSepolia.ts +3 -2
  172. package/chains/definitions/celo.ts +2 -4
  173. package/chains/definitions/celoAlfajores.ts +2 -4
  174. package/chains/definitions/celoCannoli.ts +2 -4
  175. package/chains/definitions/optimism.ts +3 -2
  176. package/chains/definitions/optimismGoerli.ts +3 -2
  177. package/chains/definitions/optimismSepolia.ts +3 -2
  178. package/chains/definitions/zkSync.ts +2 -4
  179. package/chains/definitions/zkSyncTestnet.ts +2 -4
  180. package/chains/definitions/zora.ts +3 -2
  181. package/chains/definitions/zoraSepolia.ts +3 -2
  182. package/chains/definitions/zoraTestnet.ts +3 -2
  183. package/chains/opStack/abis.ts +73 -0
  184. package/chains/opStack/actions/estimateContractL1Fee.ts +142 -0
  185. package/chains/opStack/actions/estimateContractL1Gas.ts +142 -0
  186. package/chains/opStack/actions/estimateContractTotalFee.ts +144 -0
  187. package/chains/opStack/actions/estimateContractTotalGas.ts +144 -0
  188. package/chains/opStack/actions/estimateL1Fee.ts +138 -0
  189. package/chains/opStack/actions/estimateL1Gas.ts +138 -0
  190. package/chains/opStack/actions/estimateTotalFee.ts +86 -0
  191. package/chains/opStack/actions/estimateTotalGas.ts +80 -0
  192. package/chains/opStack/chainConfig.ts +7 -0
  193. package/chains/opStack/contracts.ts +14 -0
  194. package/chains/opStack/decorators/public.ts +337 -0
  195. package/chains/{optimism → opStack}/formatters.ts +17 -17
  196. package/chains/opStack/index.ts +77 -0
  197. package/chains/opStack/package.json +6 -0
  198. package/chains/{optimism → opStack}/types.ts +20 -20
  199. package/chains/utils.ts +0 -83
  200. package/chains/zksync/chainConfig.ts +7 -0
  201. package/chains/zksync/formatters.ts +2 -2
  202. package/chains/zksync/index.ts +33 -0
  203. package/chains/zksync/package.json +6 -0
  204. package/chains/zksync/serializers.ts +7 -9
  205. package/errors/version.ts +1 -1
  206. package/package.json +26 -34
  207. package/types/contract.ts +3 -1
  208. package/_cjs/accounts/generateMnemonic.js +0 -9
  209. package/_cjs/accounts/generateMnemonic.js.map +0 -1
  210. package/_cjs/accounts/generatePrivateKey.js +0 -10
  211. package/_cjs/accounts/generatePrivateKey.js.map +0 -1
  212. package/_cjs/accounts/hdKeyToAccount.js +0 -16
  213. package/_cjs/accounts/hdKeyToAccount.js.map +0 -1
  214. package/_cjs/accounts/index.js +0 -52
  215. package/_cjs/accounts/index.js.map +0 -1
  216. package/_cjs/accounts/mnemonicToAccount.js +0 -12
  217. package/_cjs/accounts/mnemonicToAccount.js.map +0 -1
  218. package/_cjs/accounts/privateKeyToAccount.js +0 -33
  219. package/_cjs/accounts/privateKeyToAccount.js.map +0 -1
  220. package/_cjs/accounts/toAccount.js +0 -27
  221. package/_cjs/accounts/toAccount.js.map +0 -1
  222. package/_cjs/accounts/types.js +0 -3
  223. package/_cjs/accounts/utils/parseAccount.js +0 -10
  224. package/_cjs/accounts/utils/parseAccount.js.map +0 -1
  225. package/_cjs/accounts/utils/privateKeyToAddress.js +0 -12
  226. package/_cjs/accounts/utils/privateKeyToAddress.js.map +0 -1
  227. package/_cjs/accounts/utils/publicKeyToAddress.js +0 -11
  228. package/_cjs/accounts/utils/publicKeyToAddress.js.map +0 -1
  229. package/_cjs/accounts/utils/sign.js +0 -15
  230. package/_cjs/accounts/utils/sign.js.map +0 -1
  231. package/_cjs/accounts/utils/signMessage.js +0 -12
  232. package/_cjs/accounts/utils/signMessage.js.map +0 -1
  233. package/_cjs/accounts/utils/signTransaction.js +0 -15
  234. package/_cjs/accounts/utils/signTransaction.js.map +0 -1
  235. package/_cjs/accounts/utils/signTypedData.js +0 -16
  236. package/_cjs/accounts/utils/signTypedData.js.map +0 -1
  237. package/_cjs/actions/ens/getEnsAddress.js +0 -63
  238. package/_cjs/actions/ens/getEnsAddress.js.map +0 -1
  239. package/_cjs/actions/ens/getEnsAvatar.js +0 -25
  240. package/_cjs/actions/ens/getEnsAvatar.js.map +0 -1
  241. package/_cjs/actions/ens/getEnsName.js +0 -41
  242. package/_cjs/actions/ens/getEnsName.js.map +0 -1
  243. package/_cjs/actions/ens/getEnsResolver.js +0 -39
  244. package/_cjs/actions/ens/getEnsResolver.js.map +0 -1
  245. package/_cjs/actions/ens/getEnsText.js +0 -57
  246. package/_cjs/actions/ens/getEnsText.js.map +0 -1
  247. package/_cjs/actions/getContract.js +0 -184
  248. package/_cjs/actions/getContract.js.map +0 -1
  249. package/_cjs/actions/index.js +0 -167
  250. package/_cjs/actions/index.js.map +0 -1
  251. package/_cjs/actions/public/call.js +0 -156
  252. package/_cjs/actions/public/call.js.map +0 -1
  253. package/_cjs/actions/public/createBlockFilter.js +0 -15
  254. package/_cjs/actions/public/createBlockFilter.js.map +0 -1
  255. package/_cjs/actions/public/createContractEventFilter.js +0 -41
  256. package/_cjs/actions/public/createContractEventFilter.js.map +0 -1
  257. package/_cjs/actions/public/createEventFilter.js +0 -48
  258. package/_cjs/actions/public/createEventFilter.js.map +0 -1
  259. package/_cjs/actions/public/createPendingTransactionFilter.js +0 -15
  260. package/_cjs/actions/public/createPendingTransactionFilter.js.map +0 -1
  261. package/_cjs/actions/public/estimateContractGas.js +0 -37
  262. package/_cjs/actions/public/estimateContractGas.js.map +0 -1
  263. package/_cjs/actions/public/estimateFeesPerGas.js +0 -62
  264. package/_cjs/actions/public/estimateFeesPerGas.js.map +0 -1
  265. package/_cjs/actions/public/estimateGas.js +0 -56
  266. package/_cjs/actions/public/estimateGas.js.map +0 -1
  267. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +0 -45
  268. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +0 -1
  269. package/_cjs/actions/public/getBalance.js +0 -14
  270. package/_cjs/actions/public/getBalance.js.map +0 -1
  271. package/_cjs/actions/public/getBlock.js +0 -30
  272. package/_cjs/actions/public/getBlock.js.map +0 -1
  273. package/_cjs/actions/public/getBlockNumber.js +0 -17
  274. package/_cjs/actions/public/getBlockNumber.js.map +0 -1
  275. package/_cjs/actions/public/getBlockTransactionCount.js +0 -24
  276. package/_cjs/actions/public/getBlockTransactionCount.js.map +0 -1
  277. package/_cjs/actions/public/getBytecode.js +0 -16
  278. package/_cjs/actions/public/getBytecode.js.map +0 -1
  279. package/_cjs/actions/public/getChainId.js +0 -12
  280. package/_cjs/actions/public/getChainId.js.map +0 -1
  281. package/_cjs/actions/public/getContractEvents.js +0 -27
  282. package/_cjs/actions/public/getContractEvents.js.map +0 -1
  283. package/_cjs/actions/public/getFeeHistory.js +0 -19
  284. package/_cjs/actions/public/getFeeHistory.js.map +0 -1
  285. package/_cjs/actions/public/getFilterChanges.js +0 -44
  286. package/_cjs/actions/public/getFilterChanges.js.map +0 -1
  287. package/_cjs/actions/public/getFilterLogs.js +0 -42
  288. package/_cjs/actions/public/getFilterLogs.js.map +0 -1
  289. package/_cjs/actions/public/getGasPrice.js +0 -11
  290. package/_cjs/actions/public/getGasPrice.js.map +0 -1
  291. package/_cjs/actions/public/getLogs.js +0 -73
  292. package/_cjs/actions/public/getLogs.js.map +0 -1
  293. package/_cjs/actions/public/getProof.js +0 -16
  294. package/_cjs/actions/public/getProof.js.map +0 -1
  295. package/_cjs/actions/public/getStorageAt.js +0 -14
  296. package/_cjs/actions/public/getStorageAt.js.map +0 -1
  297. package/_cjs/actions/public/getTransaction.js +0 -41
  298. package/_cjs/actions/public/getTransaction.js.map +0 -1
  299. package/_cjs/actions/public/getTransactionConfirmations.js +0 -18
  300. package/_cjs/actions/public/getTransactionConfirmations.js.map +0 -1
  301. package/_cjs/actions/public/getTransactionCount.js +0 -14
  302. package/_cjs/actions/public/getTransactionCount.js.map +0 -1
  303. package/_cjs/actions/public/getTransactionReceipt.js +0 -18
  304. package/_cjs/actions/public/getTransactionReceipt.js.map +0 -1
  305. package/_cjs/actions/public/multicall.js +0 -135
  306. package/_cjs/actions/public/multicall.js.map +0 -1
  307. package/_cjs/actions/public/readContract.js +0 -40
  308. package/_cjs/actions/public/readContract.js.map +0 -1
  309. package/_cjs/actions/public/simulateContract.js +0 -56
  310. package/_cjs/actions/public/simulateContract.js.map +0 -1
  311. package/_cjs/actions/public/uninstallFilter.js +0 -11
  312. package/_cjs/actions/public/uninstallFilter.js.map +0 -1
  313. package/_cjs/actions/public/verifyHash.js +0 -32
  314. package/_cjs/actions/public/verifyHash.js.map +0 -1
  315. package/_cjs/actions/public/verifyMessage.js +0 -16
  316. package/_cjs/actions/public/verifyMessage.js.map +0 -1
  317. package/_cjs/actions/public/verifyTypedData.js +0 -16
  318. package/_cjs/actions/public/verifyTypedData.js.map +0 -1
  319. package/_cjs/actions/public/waitForTransactionReceipt.js +0 -119
  320. package/_cjs/actions/public/waitForTransactionReceipt.js.map +0 -1
  321. package/_cjs/actions/public/watchBlockNumber.js +0 -78
  322. package/_cjs/actions/public/watchBlockNumber.js.map +0 -1
  323. package/_cjs/actions/public/watchBlocks.js +0 -90
  324. package/_cjs/actions/public/watchBlocks.js.map +0 -1
  325. package/_cjs/actions/public/watchContractEvent.js +0 -162
  326. package/_cjs/actions/public/watchContractEvent.js.map +0 -1
  327. package/_cjs/actions/public/watchEvent.js +0 -161
  328. package/_cjs/actions/public/watchEvent.js.map +0 -1
  329. package/_cjs/actions/public/watchPendingTransactions.js +0 -88
  330. package/_cjs/actions/public/watchPendingTransactions.js.map +0 -1
  331. package/_cjs/actions/test/dropTransaction.js +0 -11
  332. package/_cjs/actions/test/dropTransaction.js.map +0 -1
  333. package/_cjs/actions/test/getAutomine.js +0 -14
  334. package/_cjs/actions/test/getAutomine.js.map +0 -1
  335. package/_cjs/actions/test/getTxpoolContent.js +0 -10
  336. package/_cjs/actions/test/getTxpoolContent.js.map +0 -1
  337. package/_cjs/actions/test/getTxpoolStatus.js +0 -15
  338. package/_cjs/actions/test/getTxpoolStatus.js.map +0 -1
  339. package/_cjs/actions/test/impersonateAccount.js +0 -11
  340. package/_cjs/actions/test/impersonateAccount.js.map +0 -1
  341. package/_cjs/actions/test/increaseTime.js +0 -12
  342. package/_cjs/actions/test/increaseTime.js.map +0 -1
  343. package/_cjs/actions/test/inspectTxpool.js +0 -10
  344. package/_cjs/actions/test/inspectTxpool.js.map +0 -1
  345. package/_cjs/actions/test/mine.js +0 -18
  346. package/_cjs/actions/test/mine.js.map +0 -1
  347. package/_cjs/actions/test/removeBlockTimestampInterval.js +0 -10
  348. package/_cjs/actions/test/removeBlockTimestampInterval.js.map +0 -1
  349. package/_cjs/actions/test/reset.js +0 -11
  350. package/_cjs/actions/test/reset.js.map +0 -1
  351. package/_cjs/actions/test/revert.js +0 -11
  352. package/_cjs/actions/test/revert.js.map +0 -1
  353. package/_cjs/actions/test/sendUnsignedTransaction.js +0 -30
  354. package/_cjs/actions/test/sendUnsignedTransaction.js.map +0 -1
  355. package/_cjs/actions/test/setAutomine.js +0 -18
  356. package/_cjs/actions/test/setAutomine.js.map +0 -1
  357. package/_cjs/actions/test/setBalance.js +0 -18
  358. package/_cjs/actions/test/setBalance.js.map +0 -1
  359. package/_cjs/actions/test/setBlockGasLimit.js +0 -12
  360. package/_cjs/actions/test/setBlockGasLimit.js.map +0 -1
  361. package/_cjs/actions/test/setBlockTimestampInterval.js +0 -16
  362. package/_cjs/actions/test/setBlockTimestampInterval.js.map +0 -1
  363. package/_cjs/actions/test/setCode.js +0 -11
  364. package/_cjs/actions/test/setCode.js.map +0 -1
  365. package/_cjs/actions/test/setCoinbase.js +0 -11
  366. package/_cjs/actions/test/setCoinbase.js.map +0 -1
  367. package/_cjs/actions/test/setIntervalMining.js +0 -16
  368. package/_cjs/actions/test/setIntervalMining.js.map +0 -1
  369. package/_cjs/actions/test/setLoggingEnabled.js +0 -11
  370. package/_cjs/actions/test/setLoggingEnabled.js.map +0 -1
  371. package/_cjs/actions/test/setMinGasPrice.js +0 -12
  372. package/_cjs/actions/test/setMinGasPrice.js.map +0 -1
  373. package/_cjs/actions/test/setNextBlockBaseFeePerGas.js +0 -12
  374. package/_cjs/actions/test/setNextBlockBaseFeePerGas.js.map +0 -1
  375. package/_cjs/actions/test/setNextBlockTimestamp.js +0 -12
  376. package/_cjs/actions/test/setNextBlockTimestamp.js.map +0 -1
  377. package/_cjs/actions/test/setNonce.js +0 -12
  378. package/_cjs/actions/test/setNonce.js.map +0 -1
  379. package/_cjs/actions/test/setRpcUrl.js +0 -11
  380. package/_cjs/actions/test/setRpcUrl.js.map +0 -1
  381. package/_cjs/actions/test/setStorageAt.js +0 -16
  382. package/_cjs/actions/test/setStorageAt.js.map +0 -1
  383. package/_cjs/actions/test/snapshot.js +0 -10
  384. package/_cjs/actions/test/snapshot.js.map +0 -1
  385. package/_cjs/actions/test/stopImpersonatingAccount.js +0 -11
  386. package/_cjs/actions/test/stopImpersonatingAccount.js.map +0 -1
  387. package/_cjs/actions/wallet/addChain.js +0 -23
  388. package/_cjs/actions/wallet/addChain.js.map +0 -1
  389. package/_cjs/actions/wallet/deployContract.js +0 -15
  390. package/_cjs/actions/wallet/deployContract.js.map +0 -1
  391. package/_cjs/actions/wallet/getAddresses.js +0 -12
  392. package/_cjs/actions/wallet/getAddresses.js.map +0 -1
  393. package/_cjs/actions/wallet/getPermissions.js +0 -9
  394. package/_cjs/actions/wallet/getPermissions.js.map +0 -1
  395. package/_cjs/actions/wallet/prepareTransactionRequest.js +0 -71
  396. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +0 -1
  397. package/_cjs/actions/wallet/requestAddresses.js +0 -10
  398. package/_cjs/actions/wallet/requestAddresses.js.map +0 -1
  399. package/_cjs/actions/wallet/requestPermissions.js +0 -11
  400. package/_cjs/actions/wallet/requestPermissions.js.map +0 -1
  401. package/_cjs/actions/wallet/sendRawTransaction.js +0 -11
  402. package/_cjs/actions/wallet/sendRawTransaction.js.map +0 -1
  403. package/_cjs/actions/wallet/sendTransaction.js +0 -87
  404. package/_cjs/actions/wallet/sendTransaction.js.map +0 -1
  405. package/_cjs/actions/wallet/signMessage.js +0 -28
  406. package/_cjs/actions/wallet/signMessage.js.map +0 -1
  407. package/_cjs/actions/wallet/signTransaction.js +0 -48
  408. package/_cjs/actions/wallet/signTransaction.js.map +0 -1
  409. package/_cjs/actions/wallet/signTypedData.js +0 -30
  410. package/_cjs/actions/wallet/signTypedData.js.map +0 -1
  411. package/_cjs/actions/wallet/switchChain.js +0 -16
  412. package/_cjs/actions/wallet/switchChain.js.map +0 -1
  413. package/_cjs/actions/wallet/watchAsset.js +0 -12
  414. package/_cjs/actions/wallet/watchAsset.js.map +0 -1
  415. package/_cjs/actions/wallet/writeContract.js +0 -18
  416. package/_cjs/actions/wallet/writeContract.js.map +0 -1
  417. package/_cjs/chains/celo/formatters.js +0 -82
  418. package/_cjs/chains/celo/formatters.js.map +0 -1
  419. package/_cjs/chains/celo/parsers.js +0 -131
  420. package/_cjs/chains/celo/parsers.js.map +0 -1
  421. package/_cjs/chains/celo/serializers.js +0 -131
  422. package/_cjs/chains/celo/serializers.js.map +0 -1
  423. package/_cjs/chains/celo/types.js +0 -3
  424. package/_cjs/chains/celo/types.js.map +0 -1
  425. package/_cjs/chains/celo/utils.js +0 -44
  426. package/_cjs/chains/celo/utils.js.map +0 -1
  427. package/_cjs/chains/definitions/arbitrum.js +0 -24
  428. package/_cjs/chains/definitions/arbitrum.js.map +0 -1
  429. package/_cjs/chains/definitions/arbitrumGoerli.js +0 -30
  430. package/_cjs/chains/definitions/arbitrumGoerli.js.map +0 -1
  431. package/_cjs/chains/definitions/arbitrumNova.js +0 -24
  432. package/_cjs/chains/definitions/arbitrumNova.js.map +0 -1
  433. package/_cjs/chains/definitions/arbitrumSepolia.js +0 -32
  434. package/_cjs/chains/definitions/arbitrumSepolia.js.map +0 -1
  435. package/_cjs/chains/definitions/astar.js +0 -29
  436. package/_cjs/chains/definitions/astar.js.map +0 -1
  437. package/_cjs/chains/definitions/astarZkatana.js +0 -42
  438. package/_cjs/chains/definitions/astarZkatana.js.map +0 -1
  439. package/_cjs/chains/definitions/aurora.js +0 -20
  440. package/_cjs/chains/definitions/aurora.js.map +0 -1
  441. package/_cjs/chains/definitions/auroraTestnet.js +0 -21
  442. package/_cjs/chains/definitions/auroraTestnet.js.map +0 -1
  443. package/_cjs/chains/definitions/avalanche.js +0 -26
  444. package/_cjs/chains/definitions/avalanche.js.map +0 -1
  445. package/_cjs/chains/definitions/avalancheFuji.js +0 -27
  446. package/_cjs/chains/definitions/avalancheFuji.js.map +0 -1
  447. package/_cjs/chains/definitions/base.js +0 -29
  448. package/_cjs/chains/definitions/base.js.map +0 -1
  449. package/_cjs/chains/definitions/baseGoerli.js +0 -29
  450. package/_cjs/chains/definitions/baseGoerli.js.map +0 -1
  451. package/_cjs/chains/definitions/baseSepolia.js +0 -33
  452. package/_cjs/chains/definitions/baseSepolia.js.map +0 -1
  453. package/_cjs/chains/definitions/bearNetworkChainMainnet.js +0 -20
  454. package/_cjs/chains/definitions/bearNetworkChainMainnet.js.map +0 -1
  455. package/_cjs/chains/definitions/bearNetworkChainTestnet.js +0 -24
  456. package/_cjs/chains/definitions/bearNetworkChainTestnet.js.map +0 -1
  457. package/_cjs/chains/definitions/boba.js +0 -26
  458. package/_cjs/chains/definitions/boba.js.map +0 -1
  459. package/_cjs/chains/definitions/bronos.js +0 -20
  460. package/_cjs/chains/definitions/bronos.js.map +0 -1
  461. package/_cjs/chains/definitions/bronosTestnet.js +0 -21
  462. package/_cjs/chains/definitions/bronosTestnet.js.map +0 -1
  463. package/_cjs/chains/definitions/bsc.js +0 -26
  464. package/_cjs/chains/definitions/bsc.js.map +0 -1
  465. package/_cjs/chains/definitions/bscTestnet.js +0 -27
  466. package/_cjs/chains/definitions/bscTestnet.js.map +0 -1
  467. package/_cjs/chains/definitions/bxn.js +0 -21
  468. package/_cjs/chains/definitions/bxn.js.map +0 -1
  469. package/_cjs/chains/definitions/bxnTestnet.js +0 -25
  470. package/_cjs/chains/definitions/bxnTestnet.js.map +0 -1
  471. package/_cjs/chains/definitions/canto.js +0 -29
  472. package/_cjs/chains/definitions/canto.js.map +0 -1
  473. package/_cjs/chains/definitions/celo.js +0 -34
  474. package/_cjs/chains/definitions/celo.js.map +0 -1
  475. package/_cjs/chains/definitions/celoAlfajores.js +0 -36
  476. package/_cjs/chains/definitions/celoAlfajores.js.map +0 -1
  477. package/_cjs/chains/definitions/celoCannoli.js +0 -36
  478. package/_cjs/chains/definitions/celoCannoli.js.map +0 -1
  479. package/_cjs/chains/definitions/classic.js +0 -23
  480. package/_cjs/chains/definitions/classic.js.map +0 -1
  481. package/_cjs/chains/definitions/confluxESpace.js +0 -27
  482. package/_cjs/chains/definitions/confluxESpace.js.map +0 -1
  483. package/_cjs/chains/definitions/coreDao.js +0 -27
  484. package/_cjs/chains/definitions/coreDao.js.map +0 -1
  485. package/_cjs/chains/definitions/cronos.js +0 -26
  486. package/_cjs/chains/definitions/cronos.js.map +0 -1
  487. package/_cjs/chains/definitions/cronosTestnet.js +0 -30
  488. package/_cjs/chains/definitions/cronosTestnet.js.map +0 -1
  489. package/_cjs/chains/definitions/crossbell.js +0 -28
  490. package/_cjs/chains/definitions/crossbell.js.map +0 -1
  491. package/_cjs/chains/definitions/dfk.js +0 -25
  492. package/_cjs/chains/definitions/dfk.js.map +0 -1
  493. package/_cjs/chains/definitions/dogechain.js +0 -23
  494. package/_cjs/chains/definitions/dogechain.js.map +0 -1
  495. package/_cjs/chains/definitions/edgeware.js +0 -26
  496. package/_cjs/chains/definitions/edgeware.js.map +0 -1
  497. package/_cjs/chains/definitions/edgewareTestnet.js +0 -23
  498. package/_cjs/chains/definitions/edgewareTestnet.js.map +0 -1
  499. package/_cjs/chains/definitions/ekta.js +0 -20
  500. package/_cjs/chains/definitions/ekta.js.map +0 -1
  501. package/_cjs/chains/definitions/ektaTestnet.js +0 -21
  502. package/_cjs/chains/definitions/ektaTestnet.js.map +0 -1
  503. package/_cjs/chains/definitions/eon.js +0 -24
  504. package/_cjs/chains/definitions/eon.js.map +0 -1
  505. package/_cjs/chains/definitions/eos.js +0 -29
  506. package/_cjs/chains/definitions/eos.js.map +0 -1
  507. package/_cjs/chains/definitions/eosTestnet.js +0 -30
  508. package/_cjs/chains/definitions/eosTestnet.js.map +0 -1
  509. package/_cjs/chains/definitions/evmos.js +0 -20
  510. package/_cjs/chains/definitions/evmos.js.map +0 -1
  511. package/_cjs/chains/definitions/evmosTestnet.js +0 -23
  512. package/_cjs/chains/definitions/evmosTestnet.js.map +0 -1
  513. package/_cjs/chains/definitions/fantom.js +0 -26
  514. package/_cjs/chains/definitions/fantom.js.map +0 -1
  515. package/_cjs/chains/definitions/fantomTestnet.js +0 -26
  516. package/_cjs/chains/definitions/fantomTestnet.js.map +0 -1
  517. package/_cjs/chains/definitions/fibo.js +0 -20
  518. package/_cjs/chains/definitions/fibo.js.map +0 -1
  519. package/_cjs/chains/definitions/filecoin.js +0 -20
  520. package/_cjs/chains/definitions/filecoin.js.map +0 -1
  521. package/_cjs/chains/definitions/filecoinCalibration.js +0 -20
  522. package/_cjs/chains/definitions/filecoinCalibration.js.map +0 -1
  523. package/_cjs/chains/definitions/filecoinHyperspace.js +0 -20
  524. package/_cjs/chains/definitions/filecoinHyperspace.js.map +0 -1
  525. package/_cjs/chains/definitions/flare.js +0 -23
  526. package/_cjs/chains/definitions/flare.js.map +0 -1
  527. package/_cjs/chains/definitions/flareTestnet.js +0 -24
  528. package/_cjs/chains/definitions/flareTestnet.js.map +0 -1
  529. package/_cjs/chains/definitions/foundry.js +0 -20
  530. package/_cjs/chains/definitions/foundry.js.map +0 -1
  531. package/_cjs/chains/definitions/fuse.js +0 -22
  532. package/_cjs/chains/definitions/fuse.js.map +0 -1
  533. package/_cjs/chains/definitions/fuseSparknet.js +0 -19
  534. package/_cjs/chains/definitions/fuseSparknet.js.map +0 -1
  535. package/_cjs/chains/definitions/gnosis.js +0 -32
  536. package/_cjs/chains/definitions/gnosis.js.map +0 -1
  537. package/_cjs/chains/definitions/gnosisChiado.js +0 -33
  538. package/_cjs/chains/definitions/gnosisChiado.js.map +0 -1
  539. package/_cjs/chains/definitions/gobi.js +0 -22
  540. package/_cjs/chains/definitions/gobi.js.map +0 -1
  541. package/_cjs/chains/definitions/goerli.js +0 -35
  542. package/_cjs/chains/definitions/goerli.js.map +0 -1
  543. package/_cjs/chains/definitions/haqqMainnet.js +0 -25
  544. package/_cjs/chains/definitions/haqqMainnet.js.map +0 -1
  545. package/_cjs/chains/definitions/haqqTestedge2.js +0 -25
  546. package/_cjs/chains/definitions/haqqTestedge2.js.map +0 -1
  547. package/_cjs/chains/definitions/hardhat.js +0 -17
  548. package/_cjs/chains/definitions/hardhat.js.map +0 -1
  549. package/_cjs/chains/definitions/harmonyOne.js +0 -26
  550. package/_cjs/chains/definitions/harmonyOne.js.map +0 -1
  551. package/_cjs/chains/definitions/holesky.js +0 -22
  552. package/_cjs/chains/definitions/holesky.js.map +0 -1
  553. package/_cjs/chains/definitions/iotex.js +0 -23
  554. package/_cjs/chains/definitions/iotex.js.map +0 -1
  555. package/_cjs/chains/definitions/iotexTestnet.js +0 -23
  556. package/_cjs/chains/definitions/iotexTestnet.js.map +0 -1
  557. package/_cjs/chains/definitions/kava.js +0 -29
  558. package/_cjs/chains/definitions/kava.js.map +0 -1
  559. package/_cjs/chains/definitions/kavaTestnet.js +0 -32
  560. package/_cjs/chains/definitions/kavaTestnet.js.map +0 -1
  561. package/_cjs/chains/definitions/klaytn.js +0 -20
  562. package/_cjs/chains/definitions/klaytn.js.map +0 -1
  563. package/_cjs/chains/definitions/kroma.js +0 -22
  564. package/_cjs/chains/definitions/kroma.js.map +0 -1
  565. package/_cjs/chains/definitions/kromaSepolia.js +0 -22
  566. package/_cjs/chains/definitions/kromaSepolia.js.map +0 -1
  567. package/_cjs/chains/definitions/linea.js +0 -29
  568. package/_cjs/chains/definitions/linea.js.map +0 -1
  569. package/_cjs/chains/definitions/lineaTestnet.js +0 -29
  570. package/_cjs/chains/definitions/lineaTestnet.js.map +0 -1
  571. package/_cjs/chains/definitions/localhost.js +0 -17
  572. package/_cjs/chains/definitions/localhost.js.map +0 -1
  573. package/_cjs/chains/definitions/mainnet.js +0 -34
  574. package/_cjs/chains/definitions/mainnet.js.map +0 -1
  575. package/_cjs/chains/definitions/manta.js +0 -35
  576. package/_cjs/chains/definitions/manta.js.map +0 -1
  577. package/_cjs/chains/definitions/mantaTestnet.js +0 -36
  578. package/_cjs/chains/definitions/mantaTestnet.js.map +0 -1
  579. package/_cjs/chains/definitions/mantle.js +0 -29
  580. package/_cjs/chains/definitions/mantle.js.map +0 -1
  581. package/_cjs/chains/definitions/mantleTestnet.js +0 -24
  582. package/_cjs/chains/definitions/mantleTestnet.js.map +0 -1
  583. package/_cjs/chains/definitions/meter.js +0 -20
  584. package/_cjs/chains/definitions/meter.js.map +0 -1
  585. package/_cjs/chains/definitions/meterTestnet.js +0 -23
  586. package/_cjs/chains/definitions/meterTestnet.js.map +0 -1
  587. package/_cjs/chains/definitions/metis.js +0 -29
  588. package/_cjs/chains/definitions/metis.js.map +0 -1
  589. package/_cjs/chains/definitions/metisGoerli.js +0 -29
  590. package/_cjs/chains/definitions/metisGoerli.js.map +0 -1
  591. package/_cjs/chains/definitions/mev.js +0 -31
  592. package/_cjs/chains/definitions/mev.js.map +0 -1
  593. package/_cjs/chains/definitions/mevTestnet.js +0 -32
  594. package/_cjs/chains/definitions/mevTestnet.js.map +0 -1
  595. package/_cjs/chains/definitions/modeTestnet.js +0 -28
  596. package/_cjs/chains/definitions/modeTestnet.js.map +0 -1
  597. package/_cjs/chains/definitions/moonbaseAlpha.js +0 -33
  598. package/_cjs/chains/definitions/moonbaseAlpha.js.map +0 -1
  599. package/_cjs/chains/definitions/moonbeam.js +0 -33
  600. package/_cjs/chains/definitions/moonbeam.js.map +0 -1
  601. package/_cjs/chains/definitions/moonbeamDev.js +0 -20
  602. package/_cjs/chains/definitions/moonbeamDev.js.map +0 -1
  603. package/_cjs/chains/definitions/moonriver.js +0 -33
  604. package/_cjs/chains/definitions/moonriver.js.map +0 -1
  605. package/_cjs/chains/definitions/neonDevnet.js +0 -28
  606. package/_cjs/chains/definitions/neonDevnet.js.map +0 -1
  607. package/_cjs/chains/definitions/neonMainnet.js +0 -27
  608. package/_cjs/chains/definitions/neonMainnet.js.map +0 -1
  609. package/_cjs/chains/definitions/nexi.js +0 -27
  610. package/_cjs/chains/definitions/nexi.js.map +0 -1
  611. package/_cjs/chains/definitions/nexilix.js +0 -26
  612. package/_cjs/chains/definitions/nexilix.js.map +0 -1
  613. package/_cjs/chains/definitions/oasys.js +0 -21
  614. package/_cjs/chains/definitions/oasys.js.map +0 -1
  615. package/_cjs/chains/definitions/okc.js +0 -26
  616. package/_cjs/chains/definitions/okc.js.map +0 -1
  617. package/_cjs/chains/definitions/opBNB.js +0 -26
  618. package/_cjs/chains/definitions/opBNB.js.map +0 -1
  619. package/_cjs/chains/definitions/opBNBTestnet.js +0 -27
  620. package/_cjs/chains/definitions/opBNBTestnet.js.map +0 -1
  621. package/_cjs/chains/definitions/optimism.js +0 -29
  622. package/_cjs/chains/definitions/optimism.js.map +0 -1
  623. package/_cjs/chains/definitions/optimismGoerli.js +0 -30
  624. package/_cjs/chains/definitions/optimismGoerli.js.map +0 -1
  625. package/_cjs/chains/definitions/optimismSepolia.js +0 -30
  626. package/_cjs/chains/definitions/optimismSepolia.js.map +0 -1
  627. package/_cjs/chains/definitions/plinga.js +0 -27
  628. package/_cjs/chains/definitions/plinga.js.map +0 -1
  629. package/_cjs/chains/definitions/polygon.js +0 -27
  630. package/_cjs/chains/definitions/polygon.js.map +0 -1
  631. package/_cjs/chains/definitions/polygonMumbai.js +0 -28
  632. package/_cjs/chains/definitions/polygonMumbai.js.map +0 -1
  633. package/_cjs/chains/definitions/polygonZkEvm.js +0 -27
  634. package/_cjs/chains/definitions/polygonZkEvm.js.map +0 -1
  635. package/_cjs/chains/definitions/polygonZkEvmTestnet.js +0 -28
  636. package/_cjs/chains/definitions/polygonZkEvmTestnet.js.map +0 -1
  637. package/_cjs/chains/definitions/pulsechain.js +0 -32
  638. package/_cjs/chains/definitions/pulsechain.js.map +0 -1
  639. package/_cjs/chains/definitions/pulsechainV4.js +0 -32
  640. package/_cjs/chains/definitions/pulsechainV4.js.map +0 -1
  641. package/_cjs/chains/definitions/qMainnet.js +0 -23
  642. package/_cjs/chains/definitions/qMainnet.js.map +0 -1
  643. package/_cjs/chains/definitions/qTestnet.js +0 -24
  644. package/_cjs/chains/definitions/qTestnet.js.map +0 -1
  645. package/_cjs/chains/definitions/rollux.js +0 -29
  646. package/_cjs/chains/definitions/rollux.js.map +0 -1
  647. package/_cjs/chains/definitions/rolluxTestnet.js +0 -32
  648. package/_cjs/chains/definitions/rolluxTestnet.js.map +0 -1
  649. package/_cjs/chains/definitions/ronin.js +0 -24
  650. package/_cjs/chains/definitions/ronin.js.map +0 -1
  651. package/_cjs/chains/definitions/saigon.js +0 -28
  652. package/_cjs/chains/definitions/saigon.js.map +0 -1
  653. package/_cjs/chains/definitions/scroll.js +0 -29
  654. package/_cjs/chains/definitions/scroll.js.map +0 -1
  655. package/_cjs/chains/definitions/scrollSepolia.js +0 -28
  656. package/_cjs/chains/definitions/scrollSepolia.js.map +0 -1
  657. package/_cjs/chains/definitions/scrollTestnet.js +0 -23
  658. package/_cjs/chains/definitions/scrollTestnet.js.map +0 -1
  659. package/_cjs/chains/definitions/sepolia.js +0 -33
  660. package/_cjs/chains/definitions/sepolia.js.map +0 -1
  661. package/_cjs/chains/definitions/shardeumSphinx.js +0 -22
  662. package/_cjs/chains/definitions/shardeumSphinx.js.map +0 -1
  663. package/_cjs/chains/definitions/skale/brawl.js +0 -23
  664. package/_cjs/chains/definitions/skale/brawl.js.map +0 -1
  665. package/_cjs/chains/definitions/skale/calypso.js +0 -30
  666. package/_cjs/chains/definitions/skale/calypso.js.map +0 -1
  667. package/_cjs/chains/definitions/skale/calypsoTestnet.js +0 -33
  668. package/_cjs/chains/definitions/skale/calypsoTestnet.js.map +0 -1
  669. package/_cjs/chains/definitions/skale/chaosTestnet.js +0 -33
  670. package/_cjs/chains/definitions/skale/chaosTestnet.js.map +0 -1
  671. package/_cjs/chains/definitions/skale/cryptoBlades.js +0 -25
  672. package/_cjs/chains/definitions/skale/cryptoBlades.js.map +0 -1
  673. package/_cjs/chains/definitions/skale/cryptoColosseum.js +0 -23
  674. package/_cjs/chains/definitions/skale/cryptoColosseum.js.map +0 -1
  675. package/_cjs/chains/definitions/skale/europa.js +0 -28
  676. package/_cjs/chains/definitions/skale/europa.js.map +0 -1
  677. package/_cjs/chains/definitions/skale/europaTestnet.js +0 -31
  678. package/_cjs/chains/definitions/skale/europaTestnet.js.map +0 -1
  679. package/_cjs/chains/definitions/skale/exorde.js +0 -23
  680. package/_cjs/chains/definitions/skale/exorde.js.map +0 -1
  681. package/_cjs/chains/definitions/skale/humanProtocol.js +0 -23
  682. package/_cjs/chains/definitions/skale/humanProtocol.js.map +0 -1
  683. package/_cjs/chains/definitions/skale/nebula.js +0 -28
  684. package/_cjs/chains/definitions/skale/nebula.js.map +0 -1
  685. package/_cjs/chains/definitions/skale/nebulaTestnet.js +0 -31
  686. package/_cjs/chains/definitions/skale/nebulaTestnet.js.map +0 -1
  687. package/_cjs/chains/definitions/skale/razor.js +0 -23
  688. package/_cjs/chains/definitions/skale/razor.js.map +0 -1
  689. package/_cjs/chains/definitions/skale/titan.js +0 -28
  690. package/_cjs/chains/definitions/skale/titan.js.map +0 -1
  691. package/_cjs/chains/definitions/skale/titanTestnet.js +0 -33
  692. package/_cjs/chains/definitions/skale/titanTestnet.js.map +0 -1
  693. package/_cjs/chains/definitions/songbird.js +0 -23
  694. package/_cjs/chains/definitions/songbird.js.map +0 -1
  695. package/_cjs/chains/definitions/songbirdTestnet.js +0 -24
  696. package/_cjs/chains/definitions/songbirdTestnet.js.map +0 -1
  697. package/_cjs/chains/definitions/syscoin.js +0 -29
  698. package/_cjs/chains/definitions/syscoin.js.map +0 -1
  699. package/_cjs/chains/definitions/syscoinTestnet.js +0 -29
  700. package/_cjs/chains/definitions/syscoinTestnet.js.map +0 -1
  701. package/_cjs/chains/definitions/taikoJolnir.js +0 -21
  702. package/_cjs/chains/definitions/taikoJolnir.js.map +0 -1
  703. package/_cjs/chains/definitions/taikoTestnetSepolia.js +0 -21
  704. package/_cjs/chains/definitions/taikoTestnetSepolia.js.map +0 -1
  705. package/_cjs/chains/definitions/taraxa.js +0 -21
  706. package/_cjs/chains/definitions/taraxa.js.map +0 -1
  707. package/_cjs/chains/definitions/taraxaTestnet.js +0 -22
  708. package/_cjs/chains/definitions/taraxaTestnet.js.map +0 -1
  709. package/_cjs/chains/definitions/telos.js +0 -29
  710. package/_cjs/chains/definitions/telos.js.map +0 -1
  711. package/_cjs/chains/definitions/telosTestnet.js +0 -24
  712. package/_cjs/chains/definitions/telosTestnet.js.map +0 -1
  713. package/_cjs/chains/definitions/tenet.js +0 -23
  714. package/_cjs/chains/definitions/tenet.js.map +0 -1
  715. package/_cjs/chains/definitions/thunderTestnet.js +0 -22
  716. package/_cjs/chains/definitions/thunderTestnet.js.map +0 -1
  717. package/_cjs/chains/definitions/vechain.js +0 -25
  718. package/_cjs/chains/definitions/vechain.js.map +0 -1
  719. package/_cjs/chains/definitions/wanchain.js +0 -30
  720. package/_cjs/chains/definitions/wanchain.js.map +0 -1
  721. package/_cjs/chains/definitions/wanchainTestnet.js +0 -28
  722. package/_cjs/chains/definitions/wanchainTestnet.js.map +0 -1
  723. package/_cjs/chains/definitions/xdc.js +0 -21
  724. package/_cjs/chains/definitions/xdc.js.map +0 -1
  725. package/_cjs/chains/definitions/xdcTestnet.js +0 -21
  726. package/_cjs/chains/definitions/xdcTestnet.js.map +0 -1
  727. package/_cjs/chains/definitions/zetachainAthensTestnet.js +0 -26
  728. package/_cjs/chains/definitions/zetachainAthensTestnet.js.map +0 -1
  729. package/_cjs/chains/definitions/zhejiang.js +0 -22
  730. package/_cjs/chains/definitions/zhejiang.js.map +0 -1
  731. package/_cjs/chains/definitions/zkSync.js +0 -36
  732. package/_cjs/chains/definitions/zkSync.js.map +0 -1
  733. package/_cjs/chains/definitions/zkSyncTestnet.js +0 -33
  734. package/_cjs/chains/definitions/zkSyncTestnet.js.map +0 -1
  735. package/_cjs/chains/definitions/zora.js +0 -31
  736. package/_cjs/chains/definitions/zora.js.map +0 -1
  737. package/_cjs/chains/definitions/zoraSepolia.js +0 -40
  738. package/_cjs/chains/definitions/zoraSepolia.js.map +0 -1
  739. package/_cjs/chains/definitions/zoraTestnet.js +0 -35
  740. package/_cjs/chains/definitions/zoraTestnet.js.map +0 -1
  741. package/_cjs/chains/index.js +0 -319
  742. package/_cjs/chains/index.js.map +0 -1
  743. package/_cjs/chains/optimism/formatters.js +0 -54
  744. package/_cjs/chains/optimism/formatters.js.map +0 -1
  745. package/_cjs/chains/optimism/types.js +0 -3
  746. package/_cjs/chains/optimism/types.js.map +0 -1
  747. package/_cjs/chains/utils.js +0 -23
  748. package/_cjs/chains/utils.js.map +0 -1
  749. package/_cjs/chains/zksync/formatters.js +0 -128
  750. package/_cjs/chains/zksync/formatters.js.map +0 -1
  751. package/_cjs/chains/zksync/serializers.js +0 -74
  752. package/_cjs/chains/zksync/serializers.js.map +0 -1
  753. package/_cjs/chains/zksync/types.js +0 -3
  754. package/_cjs/chains/zksync/types.js.map +0 -1
  755. package/_cjs/clients/createClient.js +0 -42
  756. package/_cjs/clients/createClient.js.map +0 -1
  757. package/_cjs/clients/createPublicClient.js +0 -17
  758. package/_cjs/clients/createPublicClient.js.map +0 -1
  759. package/_cjs/clients/createTestClient.js +0 -20
  760. package/_cjs/clients/createTestClient.js.map +0 -1
  761. package/_cjs/clients/createWalletClient.js +0 -18
  762. package/_cjs/clients/createWalletClient.js.map +0 -1
  763. package/_cjs/clients/decorators/public.js +0 -101
  764. package/_cjs/clients/decorators/public.js.map +0 -1
  765. package/_cjs/clients/decorators/test.js +0 -70
  766. package/_cjs/clients/decorators/test.js.map +0 -1
  767. package/_cjs/clients/decorators/wallet.js +0 -41
  768. package/_cjs/clients/decorators/wallet.js.map +0 -1
  769. package/_cjs/clients/transports/createTransport.js +0 -13
  770. package/_cjs/clients/transports/createTransport.js.map +0 -1
  771. package/_cjs/clients/transports/custom.js +0 -17
  772. package/_cjs/clients/transports/custom.js.map +0 -1
  773. package/_cjs/clients/transports/fallback.js +0 -122
  774. package/_cjs/clients/transports/fallback.js.map +0 -1
  775. package/_cjs/clients/transports/http.js +0 -59
  776. package/_cjs/clients/transports/http.js.map +0 -1
  777. package/_cjs/clients/transports/webSocket.js +0 -81
  778. package/_cjs/clients/transports/webSocket.js.map +0 -1
  779. package/_cjs/constants/abis.js +0 -1350
  780. package/_cjs/constants/abis.js.map +0 -1
  781. package/_cjs/constants/address.js +0 -5
  782. package/_cjs/constants/address.js.map +0 -1
  783. package/_cjs/constants/contract.js +0 -5
  784. package/_cjs/constants/contract.js.map +0 -1
  785. package/_cjs/constants/contracts.js +0 -5
  786. package/_cjs/constants/contracts.js.map +0 -1
  787. package/_cjs/constants/number.js +0 -101
  788. package/_cjs/constants/number.js.map +0 -1
  789. package/_cjs/constants/solidity.js +0 -35
  790. package/_cjs/constants/solidity.js.map +0 -1
  791. package/_cjs/constants/unit.js +0 -16
  792. package/_cjs/constants/unit.js.map +0 -1
  793. package/_cjs/ens/index.js +0 -20
  794. package/_cjs/ens/index.js.map +0 -1
  795. package/_cjs/errors/abi.js +0 -461
  796. package/_cjs/errors/abi.js.map +0 -1
  797. package/_cjs/errors/account.js +0 -23
  798. package/_cjs/errors/account.js.map +0 -1
  799. package/_cjs/errors/address.js +0 -17
  800. package/_cjs/errors/address.js.map +0 -1
  801. package/_cjs/errors/base.js +0 -83
  802. package/_cjs/errors/base.js.map +0 -1
  803. package/_cjs/errors/block.js +0 -22
  804. package/_cjs/errors/block.js.map +0 -1
  805. package/_cjs/errors/ccip.js +0 -69
  806. package/_cjs/errors/ccip.js.map +0 -1
  807. package/_cjs/errors/chain.js +0 -86
  808. package/_cjs/errors/chain.js.map +0 -1
  809. package/_cjs/errors/contract.js +0 -286
  810. package/_cjs/errors/contract.js.map +0 -1
  811. package/_cjs/errors/cursor.js +0 -29
  812. package/_cjs/errors/cursor.js.map +0 -1
  813. package/_cjs/errors/data.js +0 -31
  814. package/_cjs/errors/data.js.map +0 -1
  815. package/_cjs/errors/encoding.js +0 -65
  816. package/_cjs/errors/encoding.js.map +0 -1
  817. package/_cjs/errors/ens.js +0 -59
  818. package/_cjs/errors/ens.js.map +0 -1
  819. package/_cjs/errors/estimateGas.js +0 -49
  820. package/_cjs/errors/estimateGas.js.map +0 -1
  821. package/_cjs/errors/fee.js +0 -42
  822. package/_cjs/errors/fee.js.map +0 -1
  823. package/_cjs/errors/log.js +0 -17
  824. package/_cjs/errors/log.js.map +0 -1
  825. package/_cjs/errors/node.js +0 -262
  826. package/_cjs/errors/node.js.map +0 -1
  827. package/_cjs/errors/request.js +0 -107
  828. package/_cjs/errors/request.js.map +0 -1
  829. package/_cjs/errors/rpc.js +0 -448
  830. package/_cjs/errors/rpc.js.map +0 -1
  831. package/_cjs/errors/transaction.js +0 -225
  832. package/_cjs/errors/transaction.js.map +0 -1
  833. package/_cjs/errors/transport.js +0 -13
  834. package/_cjs/errors/transport.js.map +0 -1
  835. package/_cjs/index.js +0 -482
  836. package/_cjs/index.js.map +0 -1
  837. package/_cjs/types/account.js +0 -3
  838. package/_cjs/types/account.js.map +0 -1
  839. package/_cjs/types/block.js +0 -3
  840. package/_cjs/types/block.js.map +0 -1
  841. package/_cjs/types/chain.js +0 -3
  842. package/_cjs/types/chain.js.map +0 -1
  843. package/_cjs/types/contract.js +0 -3
  844. package/_cjs/types/contract.js.map +0 -1
  845. package/_cjs/types/eip1193.js +0 -24
  846. package/_cjs/types/eip1193.js.map +0 -1
  847. package/_cjs/types/ens.js +0 -3
  848. package/_cjs/types/ens.js.map +0 -1
  849. package/_cjs/types/fee.js +0 -3
  850. package/_cjs/types/fee.js.map +0 -1
  851. package/_cjs/types/filter.js +0 -3
  852. package/_cjs/types/filter.js.map +0 -1
  853. package/_cjs/types/log.js +0 -3
  854. package/_cjs/types/log.js.map +0 -1
  855. package/_cjs/types/misc.js +0 -3
  856. package/_cjs/types/misc.js.map +0 -1
  857. package/_cjs/types/multicall.js +0 -3
  858. package/_cjs/types/multicall.js.map +0 -1
  859. package/_cjs/types/proof.js +0 -3
  860. package/_cjs/types/proof.js.map +0 -1
  861. package/_cjs/types/rpc.js +0 -3
  862. package/_cjs/types/rpc.js.map +0 -1
  863. package/_cjs/types/transaction.js +0 -3
  864. package/_cjs/types/transaction.js.map +0 -1
  865. package/_cjs/types/transport.js +0 -3
  866. package/_cjs/types/transport.js.map +0 -1
  867. package/_cjs/types/typedData.js +0 -3
  868. package/_cjs/types/typedData.js.map +0 -1
  869. package/_cjs/types/utils.js +0 -3
  870. package/_cjs/types/utils.js.map +0 -1
  871. package/_cjs/types/window.js +0 -3
  872. package/_cjs/types/window.js.map +0 -1
  873. package/_cjs/types/withdrawal.js +0 -3
  874. package/_cjs/types/withdrawal.js.map +0 -1
  875. package/_cjs/utils/abi/decodeAbiParameters.js +0 -210
  876. package/_cjs/utils/abi/decodeAbiParameters.js.map +0 -1
  877. package/_cjs/utils/abi/decodeDeployData.js +0 -22
  878. package/_cjs/utils/abi/decodeDeployData.js.map +0 -1
  879. package/_cjs/utils/abi/decodeErrorResult.js +0 -30
  880. package/_cjs/utils/abi/decodeErrorResult.js.map +0 -1
  881. package/_cjs/utils/abi/decodeEventLog.js +0 -85
  882. package/_cjs/utils/abi/decodeEventLog.js.map +0 -1
  883. package/_cjs/utils/abi/decodeFunctionData.js +0 -28
  884. package/_cjs/utils/abi/decodeFunctionData.js.map +0 -1
  885. package/_cjs/utils/abi/decodeFunctionResult.js +0 -29
  886. package/_cjs/utils/abi/decodeFunctionResult.js.map +0 -1
  887. package/_cjs/utils/abi/encodeAbiParameters.js +0 -211
  888. package/_cjs/utils/abi/encodeAbiParameters.js.map +0 -1
  889. package/_cjs/utils/abi/encodeDeployData.js +0 -23
  890. package/_cjs/utils/abi/encodeDeployData.js.map +0 -1
  891. package/_cjs/utils/abi/encodeErrorResult.js +0 -33
  892. package/_cjs/utils/abi/encodeErrorResult.js.map +0 -1
  893. package/_cjs/utils/abi/encodeEventTopics.js +0 -53
  894. package/_cjs/utils/abi/encodeEventTopics.js.map +0 -1
  895. package/_cjs/utils/abi/encodeFunctionData.js +0 -34
  896. package/_cjs/utils/abi/encodeFunctionData.js.map +0 -1
  897. package/_cjs/utils/abi/encodeFunctionResult.js +0 -27
  898. package/_cjs/utils/abi/encodeFunctionResult.js.map +0 -1
  899. package/_cjs/utils/abi/encodePacked.js +0 -73
  900. package/_cjs/utils/abi/encodePacked.js.map +0 -1
  901. package/_cjs/utils/abi/formatAbiItem.js +0 -27
  902. package/_cjs/utils/abi/formatAbiItem.js.map +0 -1
  903. package/_cjs/utils/abi/formatAbiItemWithArgs.js +0 -17
  904. package/_cjs/utils/abi/formatAbiItemWithArgs.js.map +0 -1
  905. package/_cjs/utils/abi/getAbiItem.js +0 -84
  906. package/_cjs/utils/abi/getAbiItem.js.map +0 -1
  907. package/_cjs/utils/accounts.js +0 -8
  908. package/_cjs/utils/accounts.js.map +0 -1
  909. package/_cjs/utils/address/getAddress.js +0 -31
  910. package/_cjs/utils/address/getAddress.js.map +0 -1
  911. package/_cjs/utils/address/getContractAddress.js +0 -42
  912. package/_cjs/utils/address/getContractAddress.js.map +0 -1
  913. package/_cjs/utils/address/isAddress.js +0 -9
  914. package/_cjs/utils/address/isAddress.js.map +0 -1
  915. package/_cjs/utils/address/isAddressEqual.js +0 -14
  916. package/_cjs/utils/address/isAddressEqual.js.map +0 -1
  917. package/_cjs/utils/buildRequest.js +0 -93
  918. package/_cjs/utils/buildRequest.js.map +0 -1
  919. package/_cjs/utils/ccip.js +0 -121
  920. package/_cjs/utils/ccip.js.map +0 -1
  921. package/_cjs/utils/chain/assertCurrentChain.js +0 -12
  922. package/_cjs/utils/chain/assertCurrentChain.js.map +0 -1
  923. package/_cjs/utils/chain/defineChain.js +0 -13
  924. package/_cjs/utils/chain/defineChain.js.map +0 -1
  925. package/_cjs/utils/chain/extractChain.js +0 -8
  926. package/_cjs/utils/chain/extractChain.js.map +0 -1
  927. package/_cjs/utils/chain/getChainContractAddress.js +0 -26
  928. package/_cjs/utils/chain/getChainContractAddress.js.map +0 -1
  929. package/_cjs/utils/cursor.js +0 -134
  930. package/_cjs/utils/cursor.js.map +0 -1
  931. package/_cjs/utils/data/concat.js +0 -28
  932. package/_cjs/utils/data/concat.js.map +0 -1
  933. package/_cjs/utils/data/isBytes.js +0 -14
  934. package/_cjs/utils/data/isBytes.js.map +0 -1
  935. package/_cjs/utils/data/isBytesEqual.js +0 -13
  936. package/_cjs/utils/data/isBytesEqual.js.map +0 -1
  937. package/_cjs/utils/data/isHex.js +0 -12
  938. package/_cjs/utils/data/isHex.js.map +0 -1
  939. package/_cjs/utils/data/pad.js +0 -42
  940. package/_cjs/utils/data/pad.js.map +0 -1
  941. package/_cjs/utils/data/size.js +0 -11
  942. package/_cjs/utils/data/size.js.map +0 -1
  943. package/_cjs/utils/data/slice.js +0 -54
  944. package/_cjs/utils/data/slice.js.map +0 -1
  945. package/_cjs/utils/data/trim.js +0 -25
  946. package/_cjs/utils/data/trim.js.map +0 -1
  947. package/_cjs/utils/encoding/fromBytes.js +0 -56
  948. package/_cjs/utils/encoding/fromBytes.js.map +0 -1
  949. package/_cjs/utils/encoding/fromHex.js +0 -70
  950. package/_cjs/utils/encoding/fromHex.js.map +0 -1
  951. package/_cjs/utils/encoding/fromRlp.js +0 -67
  952. package/_cjs/utils/encoding/fromRlp.js.map +0 -1
  953. package/_cjs/utils/encoding/toBytes.js +0 -83
  954. package/_cjs/utils/encoding/toBytes.js.map +0 -1
  955. package/_cjs/utils/encoding/toHex.js +0 -79
  956. package/_cjs/utils/encoding/toHex.js.map +0 -1
  957. package/_cjs/utils/encoding/toRlp.js +0 -105
  958. package/_cjs/utils/encoding/toRlp.js.map +0 -1
  959. package/_cjs/utils/ens/avatar/parseAvatarRecord.js +0 -34
  960. package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +0 -1
  961. package/_cjs/utils/ens/avatar/utils.js +0 -186
  962. package/_cjs/utils/ens/avatar/utils.js.map +0 -1
  963. package/_cjs/utils/ens/encodeLabelhash.js +0 -8
  964. package/_cjs/utils/ens/encodeLabelhash.js.map +0 -1
  965. package/_cjs/utils/ens/encodedLabelToLabelhash.js +0 -18
  966. package/_cjs/utils/ens/encodedLabelToLabelhash.js.map +0 -1
  967. package/_cjs/utils/ens/errors.js +0 -24
  968. package/_cjs/utils/ens/errors.js.map +0 -1
  969. package/_cjs/utils/ens/labelhash.js +0 -15
  970. package/_cjs/utils/ens/labelhash.js.map +0 -1
  971. package/_cjs/utils/ens/namehash.js +0 -24
  972. package/_cjs/utils/ens/namehash.js.map +0 -1
  973. package/_cjs/utils/ens/normalize.js +0 -9
  974. package/_cjs/utils/ens/normalize.js.map +0 -1
  975. package/_cjs/utils/ens/packetToBytes.js +0 -27
  976. package/_cjs/utils/ens/packetToBytes.js.map +0 -1
  977. package/_cjs/utils/errors/getCallError.js +0 -20
  978. package/_cjs/utils/errors/getCallError.js.map +0 -1
  979. package/_cjs/utils/errors/getContractError.js +0 -39
  980. package/_cjs/utils/errors/getContractError.js.map +0 -1
  981. package/_cjs/utils/errors/getEstimateGasError.js +0 -20
  982. package/_cjs/utils/errors/getEstimateGasError.js.map +0 -1
  983. package/_cjs/utils/errors/getNodeError.js +0 -65
  984. package/_cjs/utils/errors/getNodeError.js.map +0 -1
  985. package/_cjs/utils/errors/getTransactionError.js +0 -20
  986. package/_cjs/utils/errors/getTransactionError.js.map +0 -1
  987. package/_cjs/utils/filters/createFilterRequestScope.js +0 -14
  988. package/_cjs/utils/filters/createFilterRequestScope.js.map +0 -1
  989. package/_cjs/utils/formatters/block.js +0 -32
  990. package/_cjs/utils/formatters/block.js.map +0 -1
  991. package/_cjs/utils/formatters/extract.js +0 -24
  992. package/_cjs/utils/formatters/extract.js.map +0 -1
  993. package/_cjs/utils/formatters/feeHistory.js +0 -13
  994. package/_cjs/utils/formatters/feeHistory.js.map +0 -1
  995. package/_cjs/utils/formatters/formatter.js +0 -25
  996. package/_cjs/utils/formatters/formatter.js.map +0 -1
  997. package/_cjs/utils/formatters/log.js +0 -18
  998. package/_cjs/utils/formatters/log.js.map +0 -1
  999. package/_cjs/utils/formatters/proof.js +0 -22
  1000. package/_cjs/utils/formatters/proof.js.map +0 -1
  1001. package/_cjs/utils/formatters/transaction.js +0 -50
  1002. package/_cjs/utils/formatters/transaction.js.map +0 -1
  1003. package/_cjs/utils/formatters/transactionReceipt.js +0 -47
  1004. package/_cjs/utils/formatters/transactionReceipt.js.map +0 -1
  1005. package/_cjs/utils/formatters/transactionRequest.js +0 -39
  1006. package/_cjs/utils/formatters/transactionRequest.js.map +0 -1
  1007. package/_cjs/utils/getAction.js +0 -8
  1008. package/_cjs/utils/getAction.js.map +0 -1
  1009. package/_cjs/utils/hash/getEventSelector.js +0 -10
  1010. package/_cjs/utils/hash/getEventSelector.js.map +0 -1
  1011. package/_cjs/utils/hash/getEventSignature.js +0 -9
  1012. package/_cjs/utils/hash/getEventSignature.js.map +0 -1
  1013. package/_cjs/utils/hash/getFunctionSelector.js +0 -11
  1014. package/_cjs/utils/hash/getFunctionSelector.js.map +0 -1
  1015. package/_cjs/utils/hash/getFunctionSignature.js +0 -15
  1016. package/_cjs/utils/hash/getFunctionSignature.js.map +0 -1
  1017. package/_cjs/utils/hash/hashFunction.js +0 -17
  1018. package/_cjs/utils/hash/hashFunction.js.map +0 -1
  1019. package/_cjs/utils/hash/isHash.js +0 -10
  1020. package/_cjs/utils/hash/isHash.js.map +0 -1
  1021. package/_cjs/utils/hash/keccak256.js +0 -16
  1022. package/_cjs/utils/hash/keccak256.js.map +0 -1
  1023. package/_cjs/utils/hash/normalizeSignature.js +0 -48
  1024. package/_cjs/utils/hash/normalizeSignature.js.map +0 -1
  1025. package/_cjs/utils/index.js +0 -213
  1026. package/_cjs/utils/index.js.map +0 -1
  1027. package/_cjs/utils/observe.js +0 -42
  1028. package/_cjs/utils/observe.js.map +0 -1
  1029. package/_cjs/utils/poll.js +0 -27
  1030. package/_cjs/utils/poll.js.map +0 -1
  1031. package/_cjs/utils/promise/createBatchScheduler.js +0 -49
  1032. package/_cjs/utils/promise/createBatchScheduler.js.map +0 -1
  1033. package/_cjs/utils/promise/withCache.js +0 -47
  1034. package/_cjs/utils/promise/withCache.js.map +0 -1
  1035. package/_cjs/utils/promise/withRetry.js +0 -29
  1036. package/_cjs/utils/promise/withRetry.js.map +0 -1
  1037. package/_cjs/utils/promise/withTimeout.js +0 -35
  1038. package/_cjs/utils/promise/withTimeout.js.map +0 -1
  1039. package/_cjs/utils/regex.js +0 -7
  1040. package/_cjs/utils/regex.js.map +0 -1
  1041. package/_cjs/utils/rpc.js +0 -154
  1042. package/_cjs/utils/rpc.js.map +0 -1
  1043. package/_cjs/utils/signature/compactSignatureToHex.js +0 -10
  1044. package/_cjs/utils/signature/compactSignatureToHex.js.map +0 -1
  1045. package/_cjs/utils/signature/compactSignatureToSignature.js +0 -15
  1046. package/_cjs/utils/signature/compactSignatureToSignature.js.map +0 -1
  1047. package/_cjs/utils/signature/hashMessage.js +0 -19
  1048. package/_cjs/utils/signature/hashMessage.js.map +0 -1
  1049. package/_cjs/utils/signature/hashTypedData.js +0 -124
  1050. package/_cjs/utils/signature/hashTypedData.js.map +0 -1
  1051. package/_cjs/utils/signature/hexToCompactSignature.js +0 -14
  1052. package/_cjs/utils/signature/hexToCompactSignature.js.map +0 -1
  1053. package/_cjs/utils/signature/hexToSignature.js +0 -12
  1054. package/_cjs/utils/signature/hexToSignature.js.map +0 -1
  1055. package/_cjs/utils/signature/recoverAddress.js +0 -10
  1056. package/_cjs/utils/signature/recoverAddress.js.map +0 -1
  1057. package/_cjs/utils/signature/recoverMessageAddress.js +0 -10
  1058. package/_cjs/utils/signature/recoverMessageAddress.js.map +0 -1
  1059. package/_cjs/utils/signature/recoverPublicKey.js +0 -21
  1060. package/_cjs/utils/signature/recoverPublicKey.js.map +0 -1
  1061. package/_cjs/utils/signature/recoverTypedDataAddress.js +0 -19
  1062. package/_cjs/utils/signature/recoverTypedDataAddress.js.map +0 -1
  1063. package/_cjs/utils/signature/signatureToCompactSignature.js +0 -17
  1064. package/_cjs/utils/signature/signatureToCompactSignature.js.map +0 -1
  1065. package/_cjs/utils/signature/signatureToHex.js +0 -11
  1066. package/_cjs/utils/signature/signatureToHex.js.map +0 -1
  1067. package/_cjs/utils/signature/verifyMessage.js +0 -11
  1068. package/_cjs/utils/signature/verifyMessage.js.map +0 -1
  1069. package/_cjs/utils/signature/verifyTypedData.js +0 -18
  1070. package/_cjs/utils/signature/verifyTypedData.js.map +0 -1
  1071. package/_cjs/utils/stringify.js +0 -9
  1072. package/_cjs/utils/stringify.js.map +0 -1
  1073. package/_cjs/utils/transaction/assertRequest.js +0 -28
  1074. package/_cjs/utils/transaction/assertRequest.js.map +0 -1
  1075. package/_cjs/utils/transaction/assertTransaction.js +0 -51
  1076. package/_cjs/utils/transaction/assertTransaction.js.map +0 -1
  1077. package/_cjs/utils/transaction/getSerializedTransactionType.js +0 -18
  1078. package/_cjs/utils/transaction/getSerializedTransactionType.js.map +0 -1
  1079. package/_cjs/utils/transaction/getTransactionType.js +0 -19
  1080. package/_cjs/utils/transaction/getTransactionType.js.map +0 -1
  1081. package/_cjs/utils/transaction/parseTransaction.js +0 -213
  1082. package/_cjs/utils/transaction/parseTransaction.js.map +0 -1
  1083. package/_cjs/utils/transaction/serializeAccessList.js +0 -26
  1084. package/_cjs/utils/transaction/serializeAccessList.js.map +0 -1
  1085. package/_cjs/utils/transaction/serializeTransaction.js +0 -107
  1086. package/_cjs/utils/transaction/serializeTransaction.js.map +0 -1
  1087. package/_cjs/utils/typedData.js +0 -75
  1088. package/_cjs/utils/typedData.js.map +0 -1
  1089. package/_cjs/utils/uid.js +0 -18
  1090. package/_cjs/utils/uid.js.map +0 -1
  1091. package/_cjs/utils/unit/formatEther.js +0 -10
  1092. package/_cjs/utils/unit/formatEther.js.map +0 -1
  1093. package/_cjs/utils/unit/formatGwei.js +0 -10
  1094. package/_cjs/utils/unit/formatGwei.js.map +0 -1
  1095. package/_cjs/utils/unit/formatUnits.js +0 -18
  1096. package/_cjs/utils/unit/formatUnits.js.map +0 -1
  1097. package/_cjs/utils/unit/parseEther.js +0 -10
  1098. package/_cjs/utils/unit/parseEther.js.map +0 -1
  1099. package/_cjs/utils/unit/parseGwei.js +0 -10
  1100. package/_cjs/utils/unit/parseGwei.js.map +0 -1
  1101. package/_cjs/utils/unit/parseUnits.js +0 -38
  1102. package/_cjs/utils/unit/parseUnits.js.map +0 -1
  1103. package/_cjs/utils/wait.js +0 -8
  1104. package/_cjs/utils/wait.js.map +0 -1
  1105. package/_cjs/window/index.js +0 -4
  1106. package/_cjs/window/index.js.map +0 -1
  1107. package/_esm/chains/optimism/formatters.js.map +0 -1
  1108. package/_esm/chains/optimism/types.js.map +0 -1
  1109. package/_types/chains/optimism/types.d.ts +0 -53
  1110. package/_types/chains/optimism/types.d.ts.map +0 -1
  1111. /package/_esm/chains/{optimism → opStack}/types.js +0 -0
@@ -0,0 +1,20 @@
1
+ export { estimateContractL1Fee, } from './actions/estimateContractL1Fee.js';
2
+ export { estimateContractL1Gas, } from './actions/estimateContractL1Gas.js';
3
+ export { estimateContractTotalFee, } from './actions/estimateContractTotalFee.js';
4
+ export { estimateContractTotalGas, } from './actions/estimateContractTotalGas.js';
5
+ export { estimateL1Fee, } from './actions/estimateL1Fee.js';
6
+ export { estimateL1Gas, } from './actions/estimateL1Gas.js';
7
+ export { estimateTotalFee, } from './actions/estimateTotalFee.js';
8
+ export { estimateTotalGas, } from './actions/estimateTotalGas.js';
9
+ export { chainConfig } from './chainConfig.js';
10
+ export { opStackPublicActions } from './decorators/public.js';
11
+ export { base } from '../definitions/base.js';
12
+ export { baseGoerli } from '../definitions/baseGoerli.js';
13
+ export { baseSepolia } from '../definitions/baseSepolia.js';
14
+ export { optimism } from '../definitions/optimism.js';
15
+ export { optimismGoerli } from '../definitions/optimismGoerli.js';
16
+ export { optimismSepolia } from '../definitions/optimismSepolia.js';
17
+ export { zora } from '../definitions/zora.js';
18
+ export { zoraSepolia } from '../definitions/zoraSepolia.js';
19
+ export { zoraTestnet } from '../definitions/zoraTestnet.js';
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../chains/opStack/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,GAItB,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,qBAAqB,GAItB,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,wBAAwB,GAIzB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,wBAAwB,GAIzB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,aAAa,GAId,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,aAAa,GAId,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,gBAAgB,GAIjB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,gBAAgB,GAIjB,MAAM,+BAA+B,CAAA;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../accounts/types.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../chains/opStack/types.ts"],"names":[],"mappings":""}
@@ -2,9 +2,4 @@ export { assertCurrentChain, } from '../utils/chain/assertCurrentChain.js';
2
2
  export { defineChain } from '../utils/chain/defineChain.js';
3
3
  export { extractChain, } from '../utils/chain/extractChain.js';
4
4
  export { getChainContractAddress, } from '../utils/chain/getChainContractAddress.js';
5
- export { formattersCelo } from './celo/formatters.js';
6
- export { serializeTransactionCelo, serializersCelo, } from './celo/serializers.js';
7
- export { parseTransactionCelo } from './celo/parsers.js';
8
- export { formattersOptimism } from './optimism/formatters.js';
9
- export { formattersZkSync } from './zksync/formatters.js';
10
5
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../chains/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,kBAAkB,GACnB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,EAIL,YAAY,GACb,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAEL,uBAAuB,GACxB,MAAM,2CAA2C,CAAA;AAElD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EACL,wBAAwB,EACxB,eAAe,GAChB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AA+BxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAgB7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA"}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../chains/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,kBAAkB,GACnB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,EAIL,YAAY,GACb,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAEL,uBAAuB,GACxB,MAAM,2CAA2C,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { formatters } from './formatters.js';
2
+ import { serializers } from './serializers.js';
3
+ export const chainConfig = {
4
+ formatters,
5
+ serializers,
6
+ };
7
+ //# sourceMappingURL=chainConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chainConfig.js","sourceRoot":"","sources":["../../../chains/zksync/chainConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,UAAU;IACV,WAAW;CACH,CAAA"}
@@ -7,13 +7,13 @@ import { formatLog } from '../../utils/formatters/log.js';
7
7
  import { defineTransaction } from '../../utils/formatters/transaction.js';
8
8
  import { defineTransactionReceipt } from '../../utils/formatters/transactionReceipt.js';
9
9
  import { defineTransactionRequest } from '../../utils/formatters/transactionRequest.js';
10
- export const formattersZkSync = {
10
+ export const formatters = {
11
11
  block: /*#__PURE__*/ defineBlock({
12
12
  format(args) {
13
13
  const transactions = args.transactions?.map((transaction) => {
14
14
  if (typeof transaction === 'string')
15
15
  return transaction;
16
- const formatted = formattersZkSync.transaction.format(transaction);
16
+ const formatted = formatters.transaction.format(transaction);
17
17
  if (formatted.typeHex === '0x71')
18
18
  formatted.type = 'eip712';
19
19
  else if (formatted.typeHex === '0xff')
@@ -1 +1 @@
1
- {"version":3,"file":"formatters.js","sourceRoot":"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,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;wBAC9D,GAAG,CAAC,IAAI,CAAC,eAAe;4BACtB,CAAC,CAAC,EAAE,eAAe,EAAE,IAAI,CAAC,eAAe,EAAE;4BAC3C,CAAC,CAAC,EAAE,CAAC;qBACR;oBACD,IAAI,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM;iBAChB,CAAA;YAClC,OAAO,EAAiC,CAAA;QAC1C,CAAC;KACF,CAAC;CACgC,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { chainConfig } from './chainConfig.js';
2
+ export { serializeTransaction } from './serializers.js';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../chains/zksync/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAA"}
@@ -5,16 +5,16 @@ import { isAddress } from '../../utils/address/isAddress.js';
5
5
  import { concatHex } from '../../utils/data/concat.js';
6
6
  import { toHex } from '../../utils/encoding/toHex.js';
7
7
  import { toRlp } from '../../utils/encoding/toRlp.js';
8
- import { serializeTransaction, } from '../../utils/transaction/serializeTransaction.js';
9
- export const serializeTransactionZkSync = (tx, signature) => {
8
+ import { serializeTransaction as serializeTransaction_, } from '../../utils/transaction/serializeTransaction.js';
9
+ export const serializeTransaction = (tx, signature) => {
10
10
  if (isEIP712(tx))
11
- return serializeTransactionZkSyncEIP712(tx);
12
- return serializeTransaction(tx, signature);
11
+ return serializeTransactionEIP712(tx);
12
+ return serializeTransaction_(tx, signature);
13
13
  };
14
- export const serializersZkSync = {
15
- transaction: serializeTransactionZkSync,
14
+ export const serializers = {
15
+ transaction: serializeTransaction,
16
16
  };
17
- function serializeTransactionZkSyncEIP712(transaction) {
17
+ function serializeTransactionEIP712(transaction) {
18
18
  const { chainId, gas, nonce, to, from, value, maxFeePerGas, maxPriorityFeePerGas, customSignature, factoryDeps, paymaster, paymasterInput, gasPerPubdata, data, } = transaction;
19
19
  assertTransactionEIP712(transaction);
20
20
  const serializedTransaction = [
@@ -1 +1 @@
1
- {"version":3,"file":"serializers.js","sourceRoot":"","sources":["../../../chains/zksync/serializers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAG3D,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAA;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAA;AACrD,OAAO,EAEL,oBAAoB,GACrB,MAAM,iDAAiD,CAAA;AAOxD,MAAM,CAAC,MAAM,0BAA0B,GAEnC,CAAC,EAAE,EAAE,SAAS,EAAE,EAAE;IACpB,IAAI,QAAQ,CAAC,EAAE,CAAC;QACd,OAAO,gCAAgC,CACrC,EAAyC,CAC1C,CAAA;IACH,OAAO,oBAAoB,CAAC,EAA6B,EAAE,SAAS,CAAC,CAAA;AACvE,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,WAAW,EAAE,0BAA0B;CACJ,CAAA;AAQrC,SAAS,gCAAgC,CACvC,WAAgD;IAEhD,MAAM,EACJ,OAAO,EACP,GAAG,EACH,KAAK,EACL,EAAE,EACF,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,oBAAoB,EACpB,eAAe,EACf,WAAW,EACX,SAAS,EACT,cAAc,EACd,aAAa,EACb,IAAI,GACL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