viem 2.0.0-beta.0 → 2.0.0-beta.10

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 (1343) hide show
  1. package/CHANGELOG.md +531 -371
  2. package/README.md +56 -46
  3. package/_cjs/accounts/toAccount.js.map +1 -1
  4. package/_cjs/accounts/utils/signTransaction.js.map +1 -1
  5. package/_cjs/actions/ens/getEnsAddress.js +1 -1
  6. package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
  7. package/_cjs/actions/ens/getEnsAvatar.js +1 -1
  8. package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
  9. package/_cjs/actions/ens/getEnsName.js +1 -1
  10. package/_cjs/actions/ens/getEnsName.js.map +1 -1
  11. package/_cjs/actions/ens/getEnsResolver.js +1 -1
  12. package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
  13. package/_cjs/actions/ens/getEnsText.js +1 -1
  14. package/_cjs/actions/ens/getEnsText.js.map +1 -1
  15. package/_cjs/actions/getContract.js +7 -7
  16. package/_cjs/actions/getContract.js.map +1 -1
  17. package/_cjs/actions/index.js.map +1 -1
  18. package/_cjs/actions/public/call.js.map +1 -1
  19. package/_cjs/actions/public/createContractEventFilter.js +1 -1
  20. package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
  21. package/_cjs/actions/public/createEventFilter.js +1 -1
  22. package/_cjs/actions/public/createEventFilter.js.map +1 -1
  23. package/_cjs/actions/public/estimateContractGas.js +1 -1
  24. package/_cjs/actions/public/estimateContractGas.js.map +1 -1
  25. package/_cjs/actions/public/estimateFeesPerGas.js +6 -3
  26. package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
  27. package/_cjs/actions/public/estimateGas.js +3 -8
  28. package/_cjs/actions/public/estimateGas.js.map +1 -1
  29. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +6 -4
  30. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  31. package/_cjs/actions/public/getBlock.js.map +1 -1
  32. package/_cjs/actions/public/getBlockNumber.js +2 -2
  33. package/_cjs/actions/public/getBlockNumber.js.map +1 -1
  34. package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
  35. package/_cjs/actions/public/getContractEvents.js +1 -1
  36. package/_cjs/actions/public/getContractEvents.js.map +1 -1
  37. package/_cjs/actions/public/getFilterChanges.js +10 -31
  38. package/_cjs/actions/public/getFilterChanges.js.map +1 -1
  39. package/_cjs/actions/public/getFilterLogs.js +8 -29
  40. package/_cjs/actions/public/getFilterLogs.js.map +1 -1
  41. package/_cjs/actions/public/getLogs.js +8 -29
  42. package/_cjs/actions/public/getLogs.js.map +1 -1
  43. package/_cjs/actions/public/getTransaction.js.map +1 -1
  44. package/_cjs/actions/public/getTransactionConfirmations.js +4 -2
  45. package/_cjs/actions/public/getTransactionConfirmations.js.map +1 -1
  46. package/_cjs/actions/public/multicall.js +1 -1
  47. package/_cjs/actions/public/multicall.js.map +1 -1
  48. package/_cjs/actions/public/readContract.js +1 -1
  49. package/_cjs/actions/public/readContract.js.map +1 -1
  50. package/_cjs/actions/public/simulateContract.js +1 -1
  51. package/_cjs/actions/public/simulateContract.js.map +1 -1
  52. package/_cjs/actions/public/verifyHash.js +1 -1
  53. package/_cjs/actions/public/verifyHash.js.map +1 -1
  54. package/_cjs/actions/public/waitForTransactionReceipt.js +18 -8
  55. package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
  56. package/_cjs/actions/public/watchBlockNumber.js +1 -1
  57. package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
  58. package/_cjs/actions/public/watchBlocks.js +2 -2
  59. package/_cjs/actions/public/watchBlocks.js.map +1 -1
  60. package/_cjs/actions/public/watchContractEvent.js +9 -7
  61. package/_cjs/actions/public/watchContractEvent.js.map +1 -1
  62. package/_cjs/actions/public/watchEvent.js +7 -6
  63. package/_cjs/actions/public/watchEvent.js.map +1 -1
  64. package/_cjs/actions/public/watchPendingTransactions.js +5 -4
  65. package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
  66. package/_cjs/actions/test/dumpState.js +10 -0
  67. package/_cjs/actions/test/dumpState.js.map +1 -0
  68. package/_cjs/actions/test/loadState.js +11 -0
  69. package/_cjs/actions/test/loadState.js.map +1 -0
  70. package/_cjs/actions/test/setAutomine.js.map +1 -1
  71. package/_cjs/actions/wallet/addChain.js +1 -1
  72. package/_cjs/actions/wallet/addChain.js.map +1 -1
  73. package/_cjs/actions/wallet/prepareTransactionRequest.js +41 -38
  74. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  75. package/_cjs/actions/wallet/requestAddresses.js +1 -1
  76. package/_cjs/actions/wallet/requestAddresses.js.map +1 -1
  77. package/_cjs/actions/wallet/requestPermissions.js +1 -1
  78. package/_cjs/actions/wallet/requestPermissions.js.map +1 -1
  79. package/_cjs/actions/wallet/sendRawTransaction.js +1 -1
  80. package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
  81. package/_cjs/actions/wallet/sendTransaction.js +5 -5
  82. package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
  83. package/_cjs/actions/wallet/signMessage.js +1 -1
  84. package/_cjs/actions/wallet/signMessage.js.map +1 -1
  85. package/_cjs/actions/wallet/signTransaction.js +2 -2
  86. package/_cjs/actions/wallet/signTransaction.js.map +1 -1
  87. package/_cjs/actions/wallet/signTypedData.js +1 -1
  88. package/_cjs/actions/wallet/signTypedData.js.map +1 -1
  89. package/_cjs/actions/wallet/switchChain.js +1 -1
  90. package/_cjs/actions/wallet/switchChain.js.map +1 -1
  91. package/_cjs/actions/wallet/watchAsset.js +1 -1
  92. package/_cjs/actions/wallet/watchAsset.js.map +1 -1
  93. package/_cjs/actions/wallet/writeContract.js +6 -3
  94. package/_cjs/actions/wallet/writeContract.js.map +1 -1
  95. package/_cjs/chains/celo/chainConfig.js +10 -0
  96. package/_cjs/chains/celo/chainConfig.js.map +1 -0
  97. package/_cjs/chains/celo/formatters.js +25 -37
  98. package/_cjs/chains/celo/formatters.js.map +1 -1
  99. package/_cjs/chains/celo/index.js +10 -0
  100. package/_cjs/chains/celo/index.js.map +1 -0
  101. package/_cjs/chains/celo/parsers.js +3 -3
  102. package/_cjs/chains/celo/parsers.js.map +1 -1
  103. package/_cjs/chains/celo/serializers.js +26 -48
  104. package/_cjs/chains/celo/serializers.js.map +1 -1
  105. package/_cjs/chains/celo/utils.js +46 -0
  106. package/_cjs/chains/celo/utils.js.map +1 -0
  107. package/_cjs/chains/definitions/astar.js +29 -0
  108. package/_cjs/chains/definitions/astar.js.map +1 -0
  109. package/_cjs/chains/definitions/aurora.js +6 -0
  110. package/_cjs/chains/definitions/aurora.js.map +1 -1
  111. package/_cjs/chains/definitions/base.js +11 -2
  112. package/_cjs/chains/definitions/base.js.map +1 -1
  113. package/_cjs/chains/definitions/baseGoerli.js +10 -3
  114. package/_cjs/chains/definitions/baseGoerli.js.map +1 -1
  115. package/_cjs/chains/definitions/baseSepolia.js +13 -3
  116. package/_cjs/chains/definitions/baseSepolia.js.map +1 -1
  117. package/_cjs/chains/definitions/bscTestnet.js +2 -1
  118. package/_cjs/chains/definitions/bscTestnet.js.map +1 -1
  119. package/_cjs/chains/definitions/celo.js +2 -4
  120. package/_cjs/chains/definitions/celo.js.map +1 -1
  121. package/_cjs/chains/definitions/celoAlfajores.js +2 -4
  122. package/_cjs/chains/definitions/celoAlfajores.js.map +1 -1
  123. package/_cjs/chains/definitions/celoCannoli.js +2 -4
  124. package/_cjs/chains/definitions/celoCannoli.js.map +1 -1
  125. package/_cjs/chains/definitions/chiliz.js +26 -0
  126. package/_cjs/chains/definitions/chiliz.js.map +1 -0
  127. package/_cjs/chains/definitions/confluxESpace.js +1 -0
  128. package/_cjs/chains/definitions/confluxESpace.js.map +1 -1
  129. package/_cjs/chains/definitions/confluxESpaceTestnet.js +34 -0
  130. package/_cjs/chains/definitions/confluxESpaceTestnet.js.map +1 -0
  131. package/_cjs/chains/definitions/filecoin.js +6 -0
  132. package/_cjs/chains/definitions/filecoin.js.map +1 -1
  133. package/_cjs/chains/definitions/gnosis.js +4 -1
  134. package/_cjs/chains/definitions/gnosis.js.map +1 -1
  135. package/_cjs/chains/definitions/gnosisChiado.js +10 -1
  136. package/_cjs/chains/definitions/gnosisChiado.js.map +1 -1
  137. package/_cjs/chains/definitions/kava.js +29 -0
  138. package/_cjs/chains/definitions/kava.js.map +1 -0
  139. package/_cjs/chains/definitions/kavaTestnet.js +32 -0
  140. package/_cjs/chains/definitions/kavaTestnet.js.map +1 -0
  141. package/_cjs/chains/definitions/klaytn.js +6 -0
  142. package/_cjs/chains/definitions/klaytn.js.map +1 -1
  143. package/_cjs/chains/definitions/klaytnBaobab.js +30 -0
  144. package/_cjs/chains/definitions/klaytnBaobab.js.map +1 -0
  145. package/_cjs/chains/definitions/lukso.js +31 -0
  146. package/_cjs/chains/definitions/lukso.js.map +1 -0
  147. package/_cjs/chains/definitions/neonDevnet.js +1 -1
  148. package/_cjs/chains/definitions/neonDevnet.js.map +1 -1
  149. package/_cjs/chains/definitions/neonMainnet.js +27 -0
  150. package/_cjs/chains/definitions/neonMainnet.js.map +1 -0
  151. package/_cjs/chains/definitions/optimism.js +10 -2
  152. package/_cjs/chains/definitions/optimism.js.map +1 -1
  153. package/_cjs/chains/definitions/optimismGoerli.js +10 -2
  154. package/_cjs/chains/definitions/optimismGoerli.js.map +1 -1
  155. package/_cjs/chains/definitions/optimismSepolia.js +10 -2
  156. package/_cjs/chains/definitions/optimismSepolia.js.map +1 -1
  157. package/_cjs/chains/definitions/pgn.js +37 -0
  158. package/_cjs/chains/definitions/pgn.js.map +1 -0
  159. package/_cjs/chains/definitions/pgnTestnet.js +38 -0
  160. package/_cjs/chains/definitions/pgnTestnet.js.map +1 -0
  161. package/_cjs/chains/definitions/rootstock.js +29 -0
  162. package/_cjs/chains/definitions/rootstock.js.map +1 -0
  163. package/_cjs/chains/definitions/sapphire.js +33 -0
  164. package/_cjs/chains/definitions/sapphire.js.map +1 -0
  165. package/_cjs/chains/definitions/sapphireTestnet.js +28 -0
  166. package/_cjs/chains/definitions/sapphireTestnet.js.map +1 -0
  167. package/_cjs/chains/definitions/scrollSepolia.js +0 -1
  168. package/_cjs/chains/definitions/scrollSepolia.js.map +1 -1
  169. package/_cjs/chains/definitions/shibarium.js +35 -0
  170. package/_cjs/chains/definitions/shibarium.js.map +1 -0
  171. package/_cjs/chains/definitions/shimmer.js +29 -0
  172. package/_cjs/chains/definitions/shimmer.js.map +1 -0
  173. package/_cjs/chains/definitions/shimmerTestnet.js +30 -0
  174. package/_cjs/chains/definitions/shimmerTestnet.js.map +1 -0
  175. package/_cjs/chains/definitions/spicy.js +34 -0
  176. package/_cjs/chains/definitions/spicy.js.map +1 -0
  177. package/_cjs/chains/definitions/tenet.js +23 -0
  178. package/_cjs/chains/definitions/tenet.js.map +1 -0
  179. package/_cjs/chains/definitions/zkSync.js +2 -4
  180. package/_cjs/chains/definitions/zkSync.js.map +1 -1
  181. package/_cjs/chains/definitions/zkSyncTestnet.js +2 -4
  182. package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -1
  183. package/_cjs/chains/definitions/zora.js +10 -2
  184. package/_cjs/chains/definitions/zora.js.map +1 -1
  185. package/_cjs/chains/definitions/zoraSepolia.js +10 -2
  186. package/_cjs/chains/definitions/zoraSepolia.js.map +1 -1
  187. package/_cjs/chains/definitions/zoraTestnet.js +10 -2
  188. package/_cjs/chains/definitions/zoraTestnet.js.map +1 -1
  189. package/_cjs/chains/index.js +40 -4
  190. package/_cjs/chains/index.js.map +1 -1
  191. package/_cjs/chains/opStack/abis.js +394 -0
  192. package/_cjs/chains/opStack/abis.js.map +1 -0
  193. package/_cjs/chains/opStack/actions/buildDepositTransaction.js +32 -0
  194. package/_cjs/chains/opStack/actions/buildDepositTransaction.js.map +1 -0
  195. package/_cjs/chains/opStack/actions/depositTransaction.js +36 -0
  196. package/_cjs/chains/opStack/actions/depositTransaction.js.map +1 -0
  197. package/_cjs/chains/opStack/actions/estimateContractL1Fee.js +36 -0
  198. package/_cjs/chains/opStack/actions/estimateContractL1Fee.js.map +1 -0
  199. package/_cjs/chains/opStack/actions/estimateContractL1Gas.js +36 -0
  200. package/_cjs/chains/opStack/actions/estimateContractL1Gas.js.map +1 -0
  201. package/_cjs/chains/opStack/actions/estimateContractTotalFee.js +36 -0
  202. package/_cjs/chains/opStack/actions/estimateContractTotalFee.js.map +1 -0
  203. package/_cjs/chains/opStack/actions/estimateContractTotalGas.js +36 -0
  204. package/_cjs/chains/opStack/actions/estimateContractTotalGas.js.map +1 -0
  205. package/_cjs/chains/opStack/actions/estimateL1Fee.js +53 -0
  206. package/_cjs/chains/opStack/actions/estimateL1Fee.js.map +1 -0
  207. package/_cjs/chains/opStack/actions/estimateL1Gas.js +53 -0
  208. package/_cjs/chains/opStack/actions/estimateL1Gas.js.map +1 -0
  209. package/_cjs/chains/opStack/actions/estimateTotalFee.js +18 -0
  210. package/_cjs/chains/opStack/actions/estimateTotalFee.js.map +1 -0
  211. package/_cjs/chains/opStack/actions/estimateTotalGas.js +16 -0
  212. package/_cjs/chains/opStack/actions/estimateTotalGas.js.map +1 -0
  213. package/_cjs/chains/opStack/chainConfig.js +12 -0
  214. package/_cjs/chains/opStack/chainConfig.js.map +1 -0
  215. package/_cjs/chains/opStack/chains.js +22 -0
  216. package/_cjs/chains/opStack/chains.js.map +1 -0
  217. package/_cjs/chains/opStack/contracts.js +16 -0
  218. package/_cjs/chains/opStack/contracts.js.map +1 -0
  219. package/_cjs/chains/opStack/decorators/publicL2.js +29 -0
  220. package/_cjs/chains/opStack/decorators/publicL2.js.map +1 -0
  221. package/_cjs/chains/opStack/decorators/walletL1.js +13 -0
  222. package/_cjs/chains/opStack/decorators/walletL1.js.map +1 -0
  223. package/_cjs/chains/{optimism → opStack}/formatters.js +2 -2
  224. package/_cjs/chains/opStack/formatters.js.map +1 -0
  225. package/_cjs/chains/opStack/index.js +55 -0
  226. package/_cjs/chains/opStack/index.js.map +1 -0
  227. package/_cjs/chains/opStack/parsers.js +55 -0
  228. package/_cjs/chains/opStack/parsers.js.map +1 -0
  229. package/_cjs/chains/opStack/serializers.js +52 -0
  230. package/_cjs/chains/opStack/serializers.js.map +1 -0
  231. package/_cjs/chains/{optimism/types.js → opStack/types/block.js} +1 -1
  232. package/_cjs/chains/opStack/types/block.js.map +1 -0
  233. package/_cjs/chains/opStack/types/chain.js +3 -0
  234. package/_cjs/chains/opStack/types/chain.js.map +1 -0
  235. package/_cjs/chains/opStack/types/contract.js +3 -0
  236. package/_cjs/chains/opStack/types/contract.js.map +1 -0
  237. package/_cjs/chains/opStack/types/transaction.js +3 -0
  238. package/_cjs/chains/opStack/types/transaction.js.map +1 -0
  239. package/_cjs/chains/opStack/utils/extractTransactionDepositedLogs.js +14 -0
  240. package/_cjs/chains/opStack/utils/extractTransactionDepositedLogs.js.map +1 -0
  241. package/_cjs/chains/opStack/utils/fromOpaqueData.js +29 -0
  242. package/_cjs/chains/opStack/utils/fromOpaqueData.js.map +1 -0
  243. package/_cjs/chains/opStack/utils/getL2TransactionHash.js +28 -0
  244. package/_cjs/chains/opStack/utils/getL2TransactionHash.js.map +1 -0
  245. package/_cjs/chains/opStack/utils/getL2TransactionHashes.js +11 -0
  246. package/_cjs/chains/opStack/utils/getL2TransactionHashes.js.map +1 -0
  247. package/_cjs/chains/opStack/utils/getSourceHash.js +21 -0
  248. package/_cjs/chains/opStack/utils/getSourceHash.js.map +1 -0
  249. package/_cjs/chains/utils.js +1 -12
  250. package/_cjs/chains/utils.js.map +1 -1
  251. package/_cjs/chains/zksync/chainConfig.js +10 -0
  252. package/_cjs/chains/zksync/chainConfig.js.map +1 -0
  253. package/_cjs/chains/zksync/formatters.js +9 -5
  254. package/_cjs/chains/zksync/formatters.js.map +1 -1
  255. package/_cjs/chains/zksync/index.js +8 -0
  256. package/_cjs/chains/zksync/index.js.map +1 -0
  257. package/_cjs/chains/zksync/serializers.js +7 -7
  258. package/_cjs/chains/zksync/serializers.js.map +1 -1
  259. package/_cjs/clients/createWalletClient.js +1 -1
  260. package/_cjs/clients/createWalletClient.js.map +1 -1
  261. package/_cjs/clients/decorators/public.js.map +1 -1
  262. package/_cjs/clients/decorators/test.js +4 -0
  263. package/_cjs/clients/decorators/test.js.map +1 -1
  264. package/_cjs/clients/decorators/wallet.js.map +1 -1
  265. package/_cjs/clients/transports/fallback.js +18 -4
  266. package/_cjs/clients/transports/fallback.js.map +1 -1
  267. package/_cjs/clients/transports/webSocket.js.map +1 -1
  268. package/_cjs/constants/bytes.js +5 -0
  269. package/_cjs/constants/bytes.js.map +1 -0
  270. package/_cjs/constants/strings.js +5 -0
  271. package/_cjs/constants/strings.js.map +1 -0
  272. package/_cjs/errors/base.js.map +1 -1
  273. package/_cjs/errors/contract.js +1 -1
  274. package/_cjs/errors/contract.js.map +1 -1
  275. package/_cjs/errors/encoding.js +1 -37
  276. package/_cjs/errors/encoding.js.map +1 -1
  277. package/_cjs/errors/estimateGas.js +1 -1
  278. package/_cjs/errors/estimateGas.js.map +1 -1
  279. package/_cjs/errors/node.js +11 -11
  280. package/_cjs/errors/node.js.map +1 -1
  281. package/_cjs/errors/rpc.js +18 -18
  282. package/_cjs/errors/rpc.js.map +1 -1
  283. package/_cjs/errors/transaction.js +1 -1
  284. package/_cjs/errors/transaction.js.map +1 -1
  285. package/_cjs/errors/version.js +1 -1
  286. package/_cjs/index.js +10 -10
  287. package/_cjs/index.js.map +1 -1
  288. package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
  289. package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
  290. package/_cjs/utils/abi/decodeFunctionData.js.map +1 -1
  291. package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
  292. package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
  293. package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
  294. package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
  295. package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
  296. package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
  297. package/_cjs/utils/abi/encodePacked.js.map +1 -1
  298. package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
  299. package/_cjs/utils/abi/getAbiItem.js.map +1 -1
  300. package/_cjs/utils/abi/parseEventLogs.js +37 -0
  301. package/_cjs/utils/abi/parseEventLogs.js.map +1 -0
  302. package/_cjs/utils/address/getAddress.js.map +1 -1
  303. package/_cjs/utils/address/getContractAddress.js.map +1 -1
  304. package/_cjs/utils/buildRequest.js +101 -82
  305. package/_cjs/utils/buildRequest.js.map +1 -1
  306. package/_cjs/utils/ccip.js +4 -2
  307. package/_cjs/utils/ccip.js.map +1 -1
  308. package/_cjs/utils/data/concat.js.map +1 -1
  309. package/_cjs/utils/data/pad.js.map +1 -1
  310. package/_cjs/utils/data/slice.js.map +1 -1
  311. package/_cjs/utils/data/trim.js.map +1 -1
  312. package/_cjs/utils/encoding/fromBytes.js.map +1 -1
  313. package/_cjs/utils/encoding/fromHex.js.map +1 -1
  314. package/_cjs/utils/encoding/fromRlp.js.map +1 -1
  315. package/_cjs/utils/encoding/toBytes.js +2 -2
  316. package/_cjs/utils/encoding/toBytes.js.map +1 -1
  317. package/_cjs/utils/encoding/toHex.js.map +1 -1
  318. package/_cjs/utils/encoding/toRlp.js +3 -1
  319. package/_cjs/utils/encoding/toRlp.js.map +1 -1
  320. package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
  321. package/_cjs/utils/ens/avatar/utils.js +1 -1
  322. package/_cjs/utils/ens/avatar/utils.js.map +1 -1
  323. package/_cjs/utils/ens/namehash.js.map +1 -1
  324. package/_cjs/utils/ens/packetToBytes.js.map +1 -1
  325. package/_cjs/utils/errors/getContractError.js.map +1 -1
  326. package/_cjs/utils/errors/getNodeError.js +11 -11
  327. package/_cjs/utils/errors/getNodeError.js.map +1 -1
  328. package/_cjs/utils/formatters/block.js.map +1 -1
  329. package/_cjs/utils/formatters/extract.js.map +1 -1
  330. package/_cjs/utils/formatters/formatter.js.map +1 -1
  331. package/_cjs/utils/formatters/transaction.js +17 -1
  332. package/_cjs/utils/formatters/transaction.js.map +1 -1
  333. package/_cjs/utils/getAction.js +2 -2
  334. package/_cjs/utils/getAction.js.map +1 -1
  335. package/_cjs/utils/hash/getFunctionSignature.js +9 -9
  336. package/_cjs/utils/hash/getFunctionSignature.js.map +1 -1
  337. package/_cjs/utils/hash/normalizeSignature.js +48 -0
  338. package/_cjs/utils/hash/normalizeSignature.js.map +1 -0
  339. package/_cjs/utils/index.js +5 -11
  340. package/_cjs/utils/index.js.map +1 -1
  341. package/_cjs/utils/observe.js +2 -1
  342. package/_cjs/utils/observe.js.map +1 -1
  343. package/_cjs/utils/promise/createBatchScheduler.js +8 -2
  344. package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
  345. package/_cjs/utils/promise/withCache.js.map +1 -1
  346. package/_cjs/utils/promise/withRetry.js.map +1 -1
  347. package/_cjs/utils/promise/withTimeout.js.map +1 -1
  348. package/_cjs/utils/rpc.js.map +1 -1
  349. package/_cjs/utils/signature/hashMessage.js +2 -1
  350. package/_cjs/utils/signature/hashMessage.js.map +1 -1
  351. package/_cjs/utils/signature/hashTypedData.js.map +1 -1
  352. package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -1
  353. package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
  354. package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
  355. package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
  356. package/_cjs/utils/transaction/serializeTransaction.js +34 -9
  357. package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
  358. package/_cjs/utils/typedData.js.map +1 -1
  359. package/_cjs/utils/uid.js.map +1 -1
  360. package/_cjs/utils/unit/formatEther.js.map +1 -1
  361. package/_cjs/utils/unit/formatGwei.js.map +1 -1
  362. package/_cjs/utils/unit/formatUnits.js.map +1 -1
  363. package/_cjs/utils/unit/parseEther.js.map +1 -1
  364. package/_cjs/utils/unit/parseGwei.js.map +1 -1
  365. package/_cjs/utils/unit/parseUnits.js.map +1 -1
  366. package/_esm/accounts/toAccount.js.map +1 -1
  367. package/_esm/accounts/utils/signTransaction.js.map +1 -1
  368. package/_esm/actions/ens/getEnsAddress.js +3 -3
  369. package/_esm/actions/ens/getEnsAddress.js.map +1 -1
  370. package/_esm/actions/ens/getEnsAvatar.js +3 -3
  371. package/_esm/actions/ens/getEnsAvatar.js.map +1 -1
  372. package/_esm/actions/ens/getEnsName.js +3 -3
  373. package/_esm/actions/ens/getEnsName.js.map +1 -1
  374. package/_esm/actions/ens/getEnsResolver.js +3 -3
  375. package/_esm/actions/ens/getEnsResolver.js.map +1 -1
  376. package/_esm/actions/ens/getEnsText.js +3 -3
  377. package/_esm/actions/ens/getEnsText.js.map +1 -1
  378. package/_esm/actions/getContract.js +7 -7
  379. package/_esm/actions/getContract.js.map +1 -1
  380. package/_esm/actions/index.js.map +1 -1
  381. package/_esm/actions/public/call.js.map +1 -1
  382. package/_esm/actions/public/createContractEventFilter.js +1 -1
  383. package/_esm/actions/public/createContractEventFilter.js.map +1 -1
  384. package/_esm/actions/public/createEventFilter.js +1 -1
  385. package/_esm/actions/public/createEventFilter.js.map +1 -1
  386. package/_esm/actions/public/estimateContractGas.js +1 -1
  387. package/_esm/actions/public/estimateContractGas.js.map +1 -1
  388. package/_esm/actions/public/estimateFeesPerGas.js +6 -3
  389. package/_esm/actions/public/estimateFeesPerGas.js.map +1 -1
  390. package/_esm/actions/public/estimateGas.js +3 -8
  391. package/_esm/actions/public/estimateGas.js.map +1 -1
  392. package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +6 -4
  393. package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  394. package/_esm/actions/public/getBlock.js +1 -1
  395. package/_esm/actions/public/getBlock.js.map +1 -1
  396. package/_esm/actions/public/getBlockNumber.js +3 -3
  397. package/_esm/actions/public/getBlockNumber.js.map +1 -1
  398. package/_esm/actions/public/getBlockTransactionCount.js.map +1 -1
  399. package/_esm/actions/public/getContractEvents.js +1 -1
  400. package/_esm/actions/public/getContractEvents.js.map +1 -1
  401. package/_esm/actions/public/getFilterChanges.js +11 -33
  402. package/_esm/actions/public/getFilterChanges.js.map +1 -1
  403. package/_esm/actions/public/getFilterLogs.js +9 -31
  404. package/_esm/actions/public/getFilterLogs.js.map +1 -1
  405. package/_esm/actions/public/getLogs.js +10 -32
  406. package/_esm/actions/public/getLogs.js.map +1 -1
  407. package/_esm/actions/public/getTransaction.js +1 -1
  408. package/_esm/actions/public/getTransaction.js.map +1 -1
  409. package/_esm/actions/public/getTransactionConfirmations.js +5 -3
  410. package/_esm/actions/public/getTransactionConfirmations.js.map +1 -1
  411. package/_esm/actions/public/getTransactionReceipt.js +1 -1
  412. package/_esm/actions/public/multicall.js +1 -1
  413. package/_esm/actions/public/multicall.js.map +1 -1
  414. package/_esm/actions/public/readContract.js +2 -2
  415. package/_esm/actions/public/readContract.js.map +1 -1
  416. package/_esm/actions/public/simulateContract.js +2 -2
  417. package/_esm/actions/public/simulateContract.js.map +1 -1
  418. package/_esm/actions/public/verifyHash.js +1 -1
  419. package/_esm/actions/public/verifyHash.js.map +1 -1
  420. package/_esm/actions/public/waitForTransactionReceipt.js +22 -9
  421. package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -1
  422. package/_esm/actions/public/watchBlockNumber.js +2 -2
  423. package/_esm/actions/public/watchBlockNumber.js.map +1 -1
  424. package/_esm/actions/public/watchBlocks.js +3 -3
  425. package/_esm/actions/public/watchBlocks.js.map +1 -1
  426. package/_esm/actions/public/watchContractEvent.js +9 -7
  427. package/_esm/actions/public/watchContractEvent.js.map +1 -1
  428. package/_esm/actions/public/watchEvent.js +7 -6
  429. package/_esm/actions/public/watchEvent.js.map +1 -1
  430. package/_esm/actions/public/watchPendingTransactions.js +5 -4
  431. package/_esm/actions/public/watchPendingTransactions.js.map +1 -1
  432. package/_esm/actions/test/dumpState.js +26 -0
  433. package/_esm/actions/test/dumpState.js.map +1 -0
  434. package/_esm/actions/test/loadState.js +27 -0
  435. package/_esm/actions/test/loadState.js.map +1 -0
  436. package/_esm/actions/test/setAutomine.js.map +1 -1
  437. package/_esm/actions/wallet/addChain.js +1 -1
  438. package/_esm/actions/wallet/addChain.js.map +1 -1
  439. package/_esm/actions/wallet/deployContract.js +1 -1
  440. package/_esm/actions/wallet/prepareTransactionRequest.js +44 -40
  441. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  442. package/_esm/actions/wallet/requestAddresses.js +1 -1
  443. package/_esm/actions/wallet/requestAddresses.js.map +1 -1
  444. package/_esm/actions/wallet/requestPermissions.js +1 -1
  445. package/_esm/actions/wallet/requestPermissions.js.map +1 -1
  446. package/_esm/actions/wallet/sendRawTransaction.js +1 -1
  447. package/_esm/actions/wallet/sendRawTransaction.js.map +1 -1
  448. package/_esm/actions/wallet/sendTransaction.js +6 -6
  449. package/_esm/actions/wallet/sendTransaction.js.map +1 -1
  450. package/_esm/actions/wallet/signMessage.js +1 -1
  451. package/_esm/actions/wallet/signMessage.js.map +1 -1
  452. package/_esm/actions/wallet/signTransaction.js +2 -2
  453. package/_esm/actions/wallet/signTransaction.js.map +1 -1
  454. package/_esm/actions/wallet/signTypedData.js +1 -1
  455. package/_esm/actions/wallet/signTypedData.js.map +1 -1
  456. package/_esm/actions/wallet/switchChain.js +1 -1
  457. package/_esm/actions/wallet/switchChain.js.map +1 -1
  458. package/_esm/actions/wallet/watchAsset.js +1 -1
  459. package/_esm/actions/wallet/watchAsset.js.map +1 -1
  460. package/_esm/actions/wallet/writeContract.js +7 -4
  461. package/_esm/actions/wallet/writeContract.js.map +1 -1
  462. package/_esm/chains/celo/chainConfig.js +7 -0
  463. package/_esm/chains/celo/chainConfig.js.map +1 -0
  464. package/_esm/chains/celo/formatters.js +24 -36
  465. package/_esm/chains/celo/formatters.js.map +1 -1
  466. package/_esm/chains/celo/index.js +4 -0
  467. package/_esm/chains/celo/index.js.map +1 -0
  468. package/_esm/chains/celo/parsers.js +3 -3
  469. package/_esm/chains/celo/parsers.js.map +1 -1
  470. package/_esm/chains/celo/serializers.js +26 -55
  471. package/_esm/chains/celo/serializers.js.map +1 -1
  472. package/_esm/chains/celo/utils.js +50 -0
  473. package/_esm/chains/celo/utils.js.map +1 -0
  474. package/_esm/chains/definitions/astar.js +26 -0
  475. package/_esm/chains/definitions/astar.js.map +1 -0
  476. package/_esm/chains/definitions/aurora.js +6 -0
  477. package/_esm/chains/definitions/aurora.js.map +1 -1
  478. package/_esm/chains/definitions/base.js +11 -2
  479. package/_esm/chains/definitions/base.js.map +1 -1
  480. package/_esm/chains/definitions/baseGoerli.js +10 -3
  481. package/_esm/chains/definitions/baseGoerli.js.map +1 -1
  482. package/_esm/chains/definitions/baseSepolia.js +13 -3
  483. package/_esm/chains/definitions/baseSepolia.js.map +1 -1
  484. package/_esm/chains/definitions/bscTestnet.js +2 -1
  485. package/_esm/chains/definitions/bscTestnet.js.map +1 -1
  486. package/_esm/chains/definitions/celo.js +2 -4
  487. package/_esm/chains/definitions/celo.js.map +1 -1
  488. package/_esm/chains/definitions/celoAlfajores.js +2 -4
  489. package/_esm/chains/definitions/celoAlfajores.js.map +1 -1
  490. package/_esm/chains/definitions/celoCannoli.js +2 -4
  491. package/_esm/chains/definitions/celoCannoli.js.map +1 -1
  492. package/_esm/chains/definitions/chiliz.js +23 -0
  493. package/_esm/chains/definitions/chiliz.js.map +1 -0
  494. package/_esm/chains/definitions/confluxESpace.js +1 -0
  495. package/_esm/chains/definitions/confluxESpace.js.map +1 -1
  496. package/_esm/chains/definitions/confluxESpaceTestnet.js +31 -0
  497. package/_esm/chains/definitions/confluxESpaceTestnet.js.map +1 -0
  498. package/_esm/chains/definitions/filecoin.js +6 -0
  499. package/_esm/chains/definitions/filecoin.js.map +1 -1
  500. package/_esm/chains/definitions/gnosis.js +4 -1
  501. package/_esm/chains/definitions/gnosis.js.map +1 -1
  502. package/_esm/chains/definitions/gnosisChiado.js +10 -1
  503. package/_esm/chains/definitions/gnosisChiado.js.map +1 -1
  504. package/_esm/chains/definitions/kava.js +26 -0
  505. package/_esm/chains/definitions/kava.js.map +1 -0
  506. package/_esm/chains/definitions/kavaTestnet.js +29 -0
  507. package/_esm/chains/definitions/kavaTestnet.js.map +1 -0
  508. package/_esm/chains/definitions/klaytn.js +6 -0
  509. package/_esm/chains/definitions/klaytn.js.map +1 -1
  510. package/_esm/chains/definitions/klaytnBaobab.js +27 -0
  511. package/_esm/chains/definitions/klaytnBaobab.js.map +1 -0
  512. package/_esm/chains/definitions/lukso.js +28 -0
  513. package/_esm/chains/definitions/lukso.js.map +1 -0
  514. package/_esm/chains/definitions/neonDevnet.js +1 -1
  515. package/_esm/chains/definitions/neonDevnet.js.map +1 -1
  516. package/_esm/chains/definitions/neonMainnet.js +24 -0
  517. package/_esm/chains/definitions/neonMainnet.js.map +1 -0
  518. package/_esm/chains/definitions/optimism.js +10 -2
  519. package/_esm/chains/definitions/optimism.js.map +1 -1
  520. package/_esm/chains/definitions/optimismGoerli.js +10 -2
  521. package/_esm/chains/definitions/optimismGoerli.js.map +1 -1
  522. package/_esm/chains/definitions/optimismSepolia.js +10 -2
  523. package/_esm/chains/definitions/optimismSepolia.js.map +1 -1
  524. package/_esm/chains/definitions/pgn.js +34 -0
  525. package/_esm/chains/definitions/pgn.js.map +1 -0
  526. package/_esm/chains/definitions/pgnTestnet.js +35 -0
  527. package/_esm/chains/definitions/pgnTestnet.js.map +1 -0
  528. package/_esm/chains/definitions/rootstock.js +26 -0
  529. package/_esm/chains/definitions/rootstock.js.map +1 -0
  530. package/_esm/chains/definitions/sapphire.js +30 -0
  531. package/_esm/chains/definitions/sapphire.js.map +1 -0
  532. package/_esm/chains/definitions/sapphireTestnet.js +25 -0
  533. package/_esm/chains/definitions/sapphireTestnet.js.map +1 -0
  534. package/_esm/chains/definitions/scrollSepolia.js +0 -1
  535. package/_esm/chains/definitions/scrollSepolia.js.map +1 -1
  536. package/_esm/chains/definitions/shibarium.js +32 -0
  537. package/_esm/chains/definitions/shibarium.js.map +1 -0
  538. package/_esm/chains/definitions/shimmer.js +26 -0
  539. package/_esm/chains/definitions/shimmer.js.map +1 -0
  540. package/_esm/chains/definitions/shimmerTestnet.js +27 -0
  541. package/_esm/chains/definitions/shimmerTestnet.js.map +1 -0
  542. package/_esm/chains/definitions/spicy.js +31 -0
  543. package/_esm/chains/definitions/spicy.js.map +1 -0
  544. package/_esm/chains/definitions/tenet.js +20 -0
  545. package/_esm/chains/definitions/tenet.js.map +1 -0
  546. package/_esm/chains/definitions/zkSync.js +2 -4
  547. package/_esm/chains/definitions/zkSync.js.map +1 -1
  548. package/_esm/chains/definitions/zkSyncTestnet.js +2 -4
  549. package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
  550. package/_esm/chains/definitions/zora.js +10 -2
  551. package/_esm/chains/definitions/zora.js.map +1 -1
  552. package/_esm/chains/definitions/zoraSepolia.js +10 -2
  553. package/_esm/chains/definitions/zoraSepolia.js.map +1 -1
  554. package/_esm/chains/definitions/zoraTestnet.js +10 -2
  555. package/_esm/chains/definitions/zoraTestnet.js.map +1 -1
  556. package/_esm/chains/index.js +18 -0
  557. package/_esm/chains/index.js.map +1 -1
  558. package/_esm/chains/opStack/abis.js +391 -0
  559. package/_esm/chains/opStack/abis.js.map +1 -0
  560. package/_esm/chains/opStack/actions/buildDepositTransaction.js +54 -0
  561. package/_esm/chains/opStack/actions/buildDepositTransaction.js.map +1 -0
  562. package/_esm/chains/opStack/actions/depositTransaction.js +88 -0
  563. package/_esm/chains/opStack/actions/depositTransaction.js.map +1 -0
  564. package/_esm/chains/opStack/actions/estimateContractL1Fee.js +55 -0
  565. package/_esm/chains/opStack/actions/estimateContractL1Fee.js.map +1 -0
  566. package/_esm/chains/opStack/actions/estimateContractL1Gas.js +55 -0
  567. package/_esm/chains/opStack/actions/estimateContractL1Gas.js.map +1 -0
  568. package/_esm/chains/opStack/actions/estimateContractTotalFee.js +55 -0
  569. package/_esm/chains/opStack/actions/estimateContractTotalFee.js.map +1 -0
  570. package/_esm/chains/opStack/actions/estimateContractTotalGas.js +55 -0
  571. package/_esm/chains/opStack/actions/estimateContractTotalGas.js.map +1 -0
  572. package/_esm/chains/opStack/actions/estimateL1Fee.js +74 -0
  573. package/_esm/chains/opStack/actions/estimateL1Fee.js.map +1 -0
  574. package/_esm/chains/opStack/actions/estimateL1Gas.js +74 -0
  575. package/_esm/chains/opStack/actions/estimateL1Gas.js.map +1 -0
  576. package/_esm/chains/opStack/actions/estimateTotalFee.js +38 -0
  577. package/_esm/chains/opStack/actions/estimateTotalFee.js.map +1 -0
  578. package/_esm/chains/opStack/actions/estimateTotalGas.js +36 -0
  579. package/_esm/chains/opStack/actions/estimateTotalGas.js.map +1 -0
  580. package/_esm/chains/opStack/chainConfig.js +9 -0
  581. package/_esm/chains/opStack/chainConfig.js.map +1 -0
  582. package/_esm/chains/opStack/chains.js +10 -0
  583. package/_esm/chains/opStack/chains.js.map +1 -0
  584. package/_esm/chains/opStack/contracts.js +13 -0
  585. package/_esm/chains/opStack/contracts.js.map +1 -0
  586. package/_esm/chains/opStack/decorators/publicL2.js +25 -0
  587. package/_esm/chains/opStack/decorators/publicL2.js.map +1 -0
  588. package/_esm/chains/opStack/decorators/walletL1.js +9 -0
  589. package/_esm/chains/opStack/decorators/walletL1.js.map +1 -0
  590. package/_esm/chains/{optimism → opStack}/formatters.js +1 -1
  591. package/_esm/chains/opStack/formatters.js.map +1 -0
  592. package/_esm/chains/opStack/index.js +22 -0
  593. package/_esm/chains/opStack/index.js.map +1 -0
  594. package/_esm/chains/opStack/parsers.js +51 -0
  595. package/_esm/chains/opStack/parsers.js.map +1 -0
  596. package/_esm/chains/opStack/serializers.js +47 -0
  597. package/_esm/chains/opStack/serializers.js.map +1 -0
  598. package/_esm/chains/opStack/types/block.js +2 -0
  599. package/_esm/chains/opStack/types/block.js.map +1 -0
  600. package/_esm/chains/opStack/types/chain.js +2 -0
  601. package/_esm/chains/opStack/types/chain.js.map +1 -0
  602. package/_esm/chains/opStack/types/contract.js +2 -0
  603. package/_esm/chains/opStack/types/contract.js.map +1 -0
  604. package/_esm/chains/opStack/types/transaction.js +2 -0
  605. package/_esm/chains/opStack/types/transaction.js.map +1 -0
  606. package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js +10 -0
  607. package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js.map +1 -0
  608. package/_esm/chains/opStack/utils/fromOpaqueData.js +25 -0
  609. package/_esm/chains/opStack/utils/fromOpaqueData.js.map +1 -0
  610. package/_esm/chains/opStack/utils/getL2TransactionHash.js +25 -0
  611. package/_esm/chains/opStack/utils/getL2TransactionHash.js.map +1 -0
  612. package/_esm/chains/opStack/utils/getL2TransactionHashes.js +7 -0
  613. package/_esm/chains/opStack/utils/getL2TransactionHashes.js.map +1 -0
  614. package/_esm/chains/opStack/utils/getSourceHash.js +18 -0
  615. package/_esm/chains/opStack/utils/getSourceHash.js.map +1 -0
  616. package/_esm/chains/utils.js +0 -5
  617. package/_esm/chains/utils.js.map +1 -1
  618. package/_esm/chains/zksync/chainConfig.js +7 -0
  619. package/_esm/chains/zksync/chainConfig.js.map +1 -0
  620. package/_esm/chains/zksync/formatters.js +8 -4
  621. package/_esm/chains/zksync/formatters.js.map +1 -1
  622. package/_esm/chains/zksync/index.js +3 -0
  623. package/_esm/chains/zksync/index.js.map +1 -0
  624. package/_esm/chains/zksync/serializers.js +8 -8
  625. package/_esm/chains/zksync/serializers.js.map +1 -1
  626. package/_esm/clients/createWalletClient.js +1 -1
  627. package/_esm/clients/createWalletClient.js.map +1 -1
  628. package/_esm/clients/decorators/public.js.map +1 -1
  629. package/_esm/clients/decorators/test.js +4 -0
  630. package/_esm/clients/decorators/test.js.map +1 -1
  631. package/_esm/clients/decorators/wallet.js.map +1 -1
  632. package/_esm/clients/transports/fallback.js +19 -6
  633. package/_esm/clients/transports/fallback.js.map +1 -1
  634. package/_esm/clients/transports/webSocket.js.map +1 -1
  635. package/_esm/constants/bytes.js +2 -0
  636. package/_esm/constants/bytes.js.map +1 -0
  637. package/_esm/constants/strings.js +2 -0
  638. package/_esm/constants/strings.js.map +1 -0
  639. package/_esm/errors/base.js.map +1 -1
  640. package/_esm/errors/contract.js +1 -1
  641. package/_esm/errors/contract.js.map +1 -1
  642. package/_esm/errors/encoding.js +0 -36
  643. package/_esm/errors/encoding.js.map +1 -1
  644. package/_esm/errors/estimateGas.js +1 -1
  645. package/_esm/errors/estimateGas.js.map +1 -1
  646. package/_esm/errors/node.js +11 -22
  647. package/_esm/errors/node.js.map +1 -1
  648. package/_esm/errors/rpc.js +18 -36
  649. package/_esm/errors/rpc.js.map +1 -1
  650. package/_esm/errors/transaction.js +1 -1
  651. package/_esm/errors/transaction.js.map +1 -1
  652. package/_esm/errors/version.js +1 -1
  653. package/_esm/index.js +4 -4
  654. package/_esm/index.js.map +1 -1
  655. package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
  656. package/_esm/utils/abi/decodeEventLog.js.map +1 -1
  657. package/_esm/utils/abi/decodeFunctionData.js.map +1 -1
  658. package/_esm/utils/abi/decodeFunctionResult.js.map +1 -1
  659. package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
  660. package/_esm/utils/abi/encodeErrorResult.js.map +1 -1
  661. package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
  662. package/_esm/utils/abi/encodeFunctionData.js.map +1 -1
  663. package/_esm/utils/abi/encodeFunctionResult.js.map +1 -1
  664. package/_esm/utils/abi/encodePacked.js.map +1 -1
  665. package/_esm/utils/abi/formatAbiItem.js.map +1 -1
  666. package/_esm/utils/abi/getAbiItem.js.map +1 -1
  667. package/_esm/utils/abi/parseEventLogs.js +59 -0
  668. package/_esm/utils/abi/parseEventLogs.js.map +1 -0
  669. package/_esm/utils/address/getAddress.js.map +1 -1
  670. package/_esm/utils/address/getContractAddress.js.map +1 -1
  671. package/_esm/utils/buildRequest.js +129 -102
  672. package/_esm/utils/buildRequest.js.map +1 -1
  673. package/_esm/utils/ccip.js +4 -2
  674. package/_esm/utils/ccip.js.map +1 -1
  675. package/_esm/utils/data/concat.js.map +1 -1
  676. package/_esm/utils/data/pad.js.map +1 -1
  677. package/_esm/utils/data/slice.js.map +1 -1
  678. package/_esm/utils/data/trim.js.map +1 -1
  679. package/_esm/utils/encoding/fromBytes.js.map +1 -1
  680. package/_esm/utils/encoding/fromHex.js.map +1 -1
  681. package/_esm/utils/encoding/fromRlp.js.map +1 -1
  682. package/_esm/utils/encoding/toBytes.js +2 -2
  683. package/_esm/utils/encoding/toBytes.js.map +1 -1
  684. package/_esm/utils/encoding/toHex.js.map +1 -1
  685. package/_esm/utils/encoding/toRlp.js +3 -1
  686. package/_esm/utils/encoding/toRlp.js.map +1 -1
  687. package/_esm/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
  688. package/_esm/utils/ens/avatar/utils.js +1 -1
  689. package/_esm/utils/ens/avatar/utils.js.map +1 -1
  690. package/_esm/utils/ens/namehash.js +1 -1
  691. package/_esm/utils/ens/namehash.js.map +1 -1
  692. package/_esm/utils/ens/normalize.js +2 -2
  693. package/_esm/utils/ens/packetToBytes.js.map +1 -1
  694. package/_esm/utils/errors/getContractError.js.map +1 -1
  695. package/_esm/utils/errors/getNodeError.js +11 -11
  696. package/_esm/utils/errors/getNodeError.js.map +1 -1
  697. package/_esm/utils/formatters/block.js.map +1 -1
  698. package/_esm/utils/formatters/extract.js.map +1 -1
  699. package/_esm/utils/formatters/formatter.js.map +1 -1
  700. package/_esm/utils/formatters/transaction.js +19 -1
  701. package/_esm/utils/formatters/transaction.js.map +1 -1
  702. package/_esm/utils/getAction.js +12 -2
  703. package/_esm/utils/getAction.js.map +1 -1
  704. package/_esm/utils/hash/getFunctionSignature.js +9 -9
  705. package/_esm/utils/hash/getFunctionSignature.js.map +1 -1
  706. package/_esm/utils/hash/normalizeSignature.js +51 -0
  707. package/_esm/utils/hash/normalizeSignature.js.map +1 -0
  708. package/_esm/utils/index.js +3 -8
  709. package/_esm/utils/index.js.map +1 -1
  710. package/_esm/utils/observe.js +2 -1
  711. package/_esm/utils/observe.js.map +1 -1
  712. package/_esm/utils/promise/createBatchScheduler.js +8 -2
  713. package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
  714. package/_esm/utils/promise/withCache.js.map +1 -1
  715. package/_esm/utils/promise/withRetry.js.map +1 -1
  716. package/_esm/utils/promise/withTimeout.js.map +1 -1
  717. package/_esm/utils/rpc.js.map +1 -1
  718. package/_esm/utils/signature/hashMessage.js +2 -1
  719. package/_esm/utils/signature/hashMessage.js.map +1 -1
  720. package/_esm/utils/signature/hashTypedData.js.map +1 -1
  721. package/_esm/utils/signature/signatureToCompactSignature.js.map +1 -1
  722. package/_esm/utils/transaction/getTransactionType.js.map +1 -1
  723. package/_esm/utils/transaction/parseTransaction.js.map +1 -1
  724. package/_esm/utils/transaction/serializeAccessList.js.map +1 -1
  725. package/_esm/utils/transaction/serializeTransaction.js +37 -11
  726. package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
  727. package/_esm/utils/typedData.js.map +1 -1
  728. package/_esm/utils/uid.js.map +1 -1
  729. package/_esm/utils/unit/formatEther.js +11 -0
  730. package/_esm/utils/unit/formatEther.js.map +1 -1
  731. package/_esm/utils/unit/formatGwei.js +11 -0
  732. package/_esm/utils/unit/formatGwei.js.map +1 -1
  733. package/_esm/utils/unit/formatUnits.js +11 -0
  734. package/_esm/utils/unit/formatUnits.js.map +1 -1
  735. package/_esm/utils/unit/parseEther.js +11 -0
  736. package/_esm/utils/unit/parseEther.js.map +1 -1
  737. package/_esm/utils/unit/parseGwei.js +11 -0
  738. package/_esm/utils/unit/parseGwei.js.map +1 -1
  739. package/_esm/utils/unit/parseUnits.js +11 -0
  740. package/_esm/utils/unit/parseUnits.js.map +1 -1
  741. package/_types/accounts/utils/signTransaction.d.ts.map +1 -1
  742. package/_types/actions/ens/getEnsAddress.d.ts +2 -2
  743. package/_types/actions/ens/getEnsAddress.d.ts.map +1 -1
  744. package/_types/actions/ens/getEnsAvatar.d.ts +2 -2
  745. package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -1
  746. package/_types/actions/ens/getEnsName.d.ts +2 -2
  747. package/_types/actions/ens/getEnsName.d.ts.map +1 -1
  748. package/_types/actions/ens/getEnsResolver.d.ts +2 -2
  749. package/_types/actions/ens/getEnsResolver.d.ts.map +1 -1
  750. package/_types/actions/ens/getEnsText.d.ts +2 -2
  751. package/_types/actions/ens/getEnsText.d.ts.map +1 -1
  752. package/_types/actions/getContract.d.ts +5 -5
  753. package/_types/actions/getContract.d.ts.map +1 -1
  754. package/_types/actions/index.d.ts +1 -5
  755. package/_types/actions/index.d.ts.map +1 -1
  756. package/_types/actions/public/createContractEventFilter.d.ts.map +1 -1
  757. package/_types/actions/public/estimateContractGas.d.ts +2 -2
  758. package/_types/actions/public/estimateContractGas.d.ts.map +1 -1
  759. package/_types/actions/public/estimateFeesPerGas.d.ts +2 -2
  760. package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -1
  761. package/_types/actions/public/estimateGas.d.ts +5 -3
  762. package/_types/actions/public/estimateGas.d.ts.map +1 -1
  763. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +2 -2
  764. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
  765. package/_types/actions/public/getBlock.d.ts +2 -2
  766. package/_types/actions/public/getBlock.d.ts.map +1 -1
  767. package/_types/actions/public/getBlockNumber.d.ts +2 -4
  768. package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
  769. package/_types/actions/public/getContractEvents.d.ts.map +1 -1
  770. package/_types/actions/public/getFilterChanges.d.ts.map +1 -1
  771. package/_types/actions/public/getFilterLogs.d.ts.map +1 -1
  772. package/_types/actions/public/getLogs.d.ts +1 -1
  773. package/_types/actions/public/getLogs.d.ts.map +1 -1
  774. package/_types/actions/public/getTransaction.d.ts +2 -2
  775. package/_types/actions/public/getTransaction.d.ts.map +1 -1
  776. package/_types/actions/public/getTransactionConfirmations.d.ts +1 -1
  777. package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -1
  778. package/_types/actions/public/getTransactionReceipt.d.ts +2 -2
  779. package/_types/actions/public/getTransactionReceipt.d.ts.map +1 -1
  780. package/_types/actions/public/multicall.d.ts.map +1 -1
  781. package/_types/actions/public/readContract.d.ts +1 -1
  782. package/_types/actions/public/readContract.d.ts.map +1 -1
  783. package/_types/actions/public/simulateContract.d.ts +4 -4
  784. package/_types/actions/public/simulateContract.d.ts.map +1 -1
  785. package/_types/actions/public/verifyHash.d.ts.map +1 -1
  786. package/_types/actions/public/waitForTransactionReceipt.d.ts +1 -1
  787. package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -1
  788. package/_types/actions/public/watchBlockNumber.d.ts +1 -1
  789. package/_types/actions/public/watchBlockNumber.d.ts.map +1 -1
  790. package/_types/actions/public/watchBlocks.d.ts +1 -1
  791. package/_types/actions/public/watchBlocks.d.ts.map +1 -1
  792. package/_types/actions/public/watchContractEvent.d.ts.map +1 -1
  793. package/_types/actions/public/watchEvent.d.ts.map +1 -1
  794. package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -1
  795. package/_types/actions/test/dumpState.d.ts +31 -0
  796. package/_types/actions/test/dumpState.d.ts.map +1 -0
  797. package/_types/actions/test/loadState.d.ts +34 -0
  798. package/_types/actions/test/loadState.d.ts.map +1 -0
  799. package/_types/actions/wallet/addChain.d.ts.map +1 -1
  800. package/_types/actions/wallet/deployContract.d.ts +3 -3
  801. package/_types/actions/wallet/deployContract.d.ts.map +1 -1
  802. package/_types/actions/wallet/prepareTransactionRequest.d.ts +19 -7
  803. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  804. package/_types/actions/wallet/requestAddresses.d.ts.map +1 -1
  805. package/_types/actions/wallet/requestPermissions.d.ts.map +1 -1
  806. package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -1
  807. package/_types/actions/wallet/sendTransaction.d.ts +4 -4
  808. package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
  809. package/_types/actions/wallet/signMessage.d.ts.map +1 -1
  810. package/_types/actions/wallet/signTransaction.d.ts +2 -2
  811. package/_types/actions/wallet/signTransaction.d.ts.map +1 -1
  812. package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
  813. package/_types/actions/wallet/switchChain.d.ts.map +1 -1
  814. package/_types/actions/wallet/watchAsset.d.ts.map +1 -1
  815. package/_types/actions/wallet/writeContract.d.ts +4 -4
  816. package/_types/actions/wallet/writeContract.d.ts.map +1 -1
  817. package/_types/chains/celo/chainConfig.d.ts +914 -0
  818. package/_types/chains/celo/chainConfig.d.ts.map +1 -0
  819. package/_types/chains/celo/formatters.d.ts +185 -155
  820. package/_types/chains/celo/formatters.d.ts.map +1 -1
  821. package/_types/chains/celo/index.d.ts +5 -0
  822. package/_types/chains/celo/index.d.ts.map +1 -0
  823. package/_types/chains/celo/parsers.d.ts +3 -3
  824. package/_types/chains/celo/parsers.d.ts.map +1 -1
  825. package/_types/chains/celo/serializers.d.ts +4 -3
  826. package/_types/chains/celo/serializers.d.ts.map +1 -1
  827. package/_types/chains/celo/types.d.ts +15 -9
  828. package/_types/chains/celo/types.d.ts.map +1 -1
  829. package/_types/chains/celo/utils.d.ts +7 -0
  830. package/_types/chains/celo/utils.d.ts.map +1 -0
  831. package/_types/chains/definitions/astar.d.ts +36 -0
  832. package/_types/chains/definitions/astar.d.ts.map +1 -0
  833. package/_types/chains/definitions/aurora.d.ts +6 -8
  834. package/_types/chains/definitions/aurora.d.ts.map +1 -1
  835. package/_types/chains/definitions/auroraTestnet.d.ts +1 -1
  836. package/_types/chains/definitions/base.d.ts +163 -119
  837. package/_types/chains/definitions/base.d.ts.map +1 -1
  838. package/_types/chains/definitions/baseGoerli.d.ts +161 -118
  839. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  840. package/_types/chains/definitions/baseSepolia.d.ts +164 -126
  841. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  842. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +1 -1
  843. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +1 -1
  844. package/_types/chains/definitions/bronos.d.ts +1 -1
  845. package/_types/chains/definitions/bronosTestnet.d.ts +1 -1
  846. package/_types/chains/definitions/bscTestnet.d.ts +4 -1
  847. package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
  848. package/_types/chains/definitions/bxn.d.ts +1 -1
  849. package/_types/chains/definitions/bxnTestnet.d.ts +1 -1
  850. package/_types/chains/definitions/celo.d.ts +190 -160
  851. package/_types/chains/definitions/celo.d.ts.map +1 -1
  852. package/_types/chains/definitions/celoAlfajores.d.ts +190 -160
  853. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  854. package/_types/chains/definitions/celoCannoli.d.ts +190 -160
  855. package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
  856. package/_types/chains/definitions/chiliz.d.ts +35 -0
  857. package/_types/chains/definitions/chiliz.d.ts.map +1 -0
  858. package/_types/chains/definitions/classic.d.ts +1 -1
  859. package/_types/chains/definitions/confluxESpace.d.ts +1 -0
  860. package/_types/chains/definitions/confluxESpace.d.ts.map +1 -1
  861. package/_types/chains/definitions/confluxESpaceTestnet.d.ts +38 -0
  862. package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -0
  863. package/_types/chains/definitions/dfk.d.ts +1 -1
  864. package/_types/chains/definitions/dogechain.d.ts +1 -1
  865. package/_types/chains/definitions/edgewareTestnet.d.ts +1 -1
  866. package/_types/chains/definitions/ekta.d.ts +1 -1
  867. package/_types/chains/definitions/ektaTestnet.d.ts +1 -1
  868. package/_types/chains/definitions/evmos.d.ts +1 -1
  869. package/_types/chains/definitions/evmosTestnet.d.ts +1 -1
  870. package/_types/chains/definitions/fibo.d.ts +1 -1
  871. package/_types/chains/definitions/filecoin.d.ts +6 -8
  872. package/_types/chains/definitions/filecoin.d.ts.map +1 -1
  873. package/_types/chains/definitions/filecoinCalibration.d.ts +1 -1
  874. package/_types/chains/definitions/filecoinHyperspace.d.ts +1 -1
  875. package/_types/chains/definitions/flare.d.ts +1 -1
  876. package/_types/chains/definitions/flareTestnet.d.ts +1 -1
  877. package/_types/chains/definitions/foundry.d.ts +1 -1
  878. package/_types/chains/definitions/fuseSparknet.d.ts +1 -1
  879. package/_types/chains/definitions/gnosis.d.ts +1 -0
  880. package/_types/chains/definitions/gnosis.d.ts.map +1 -1
  881. package/_types/chains/definitions/gnosisChiado.d.ts +7 -8
  882. package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -1
  883. package/_types/chains/definitions/haqqMainnet.d.ts +1 -1
  884. package/_types/chains/definitions/haqqTestedge2.d.ts +1 -1
  885. package/_types/chains/definitions/hardhat.d.ts +1 -1
  886. package/_types/chains/definitions/iotex.d.ts +1 -1
  887. package/_types/chains/definitions/iotexTestnet.d.ts +1 -1
  888. package/_types/chains/definitions/kava.d.ts +36 -0
  889. package/_types/chains/definitions/kava.d.ts.map +1 -0
  890. package/_types/chains/definitions/kavaTestnet.d.ts +36 -0
  891. package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -0
  892. package/_types/chains/definitions/klaytn.d.ts +6 -8
  893. package/_types/chains/definitions/klaytn.d.ts.map +1 -1
  894. package/_types/chains/definitions/klaytnBaobab.d.ts +40 -0
  895. package/_types/chains/definitions/klaytnBaobab.d.ts.map +1 -0
  896. package/_types/chains/definitions/kroma.d.ts +1 -1
  897. package/_types/chains/definitions/kromaSepolia.d.ts +1 -1
  898. package/_types/chains/definitions/localhost.d.ts +1 -1
  899. package/_types/chains/definitions/lukso.d.ts +40 -0
  900. package/_types/chains/definitions/lukso.d.ts.map +1 -0
  901. package/_types/chains/definitions/mantleTestnet.d.ts +1 -1
  902. package/_types/chains/definitions/meter.d.ts +1 -1
  903. package/_types/chains/definitions/meterTestnet.d.ts +1 -1
  904. package/_types/chains/definitions/moonbeamDev.d.ts +1 -1
  905. package/_types/chains/definitions/neonDevnet.d.ts +1 -1
  906. package/_types/chains/definitions/neonMainnet.d.ts +31 -0
  907. package/_types/chains/definitions/neonMainnet.d.ts.map +1 -0
  908. package/_types/chains/definitions/oasys.d.ts +1 -1
  909. package/_types/chains/definitions/optimism.d.ts +162 -119
  910. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  911. package/_types/chains/definitions/optimismGoerli.d.ts +162 -119
  912. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  913. package/_types/chains/definitions/optimismSepolia.d.ts +162 -119
  914. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
  915. package/_types/chains/definitions/pgn.d.ts +555 -0
  916. package/_types/chains/definitions/pgn.d.ts.map +1 -0
  917. package/_types/chains/definitions/pgnTestnet.d.ts +555 -0
  918. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -0
  919. package/_types/chains/definitions/qMainnet.d.ts +1 -1
  920. package/_types/chains/definitions/qTestnet.d.ts +1 -1
  921. package/_types/chains/definitions/rootstock.d.ts +40 -0
  922. package/_types/chains/definitions/rootstock.d.ts.map +1 -0
  923. package/_types/chains/definitions/sapphire.d.ts +38 -0
  924. package/_types/chains/definitions/sapphire.d.ts.map +1 -0
  925. package/_types/chains/definitions/sapphireTestnet.d.ts +40 -0
  926. package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -0
  927. package/_types/chains/definitions/scrollSepolia.d.ts +0 -1
  928. package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -1
  929. package/_types/chains/definitions/scrollTestnet.d.ts +1 -1
  930. package/_types/chains/definitions/shardeumSphinx.d.ts +1 -1
  931. package/_types/chains/definitions/shibarium.d.ts +40 -0
  932. package/_types/chains/definitions/shibarium.d.ts.map +1 -0
  933. package/_types/chains/definitions/shimmer.d.ts +38 -0
  934. package/_types/chains/definitions/shimmer.d.ts.map +1 -0
  935. package/_types/chains/definitions/shimmerTestnet.d.ts +38 -0
  936. package/_types/chains/definitions/shimmerTestnet.d.ts.map +1 -0
  937. package/_types/chains/definitions/songbird.d.ts +1 -1
  938. package/_types/chains/definitions/songbirdTestnet.d.ts +1 -1
  939. package/_types/chains/definitions/spicy.d.ts +36 -0
  940. package/_types/chains/definitions/spicy.d.ts.map +1 -0
  941. package/_types/chains/definitions/taikoJolnir.d.ts +1 -1
  942. package/_types/chains/definitions/taikoTestnetSepolia.d.ts +1 -1
  943. package/_types/chains/definitions/taraxa.d.ts +1 -1
  944. package/_types/chains/definitions/taraxaTestnet.d.ts +1 -1
  945. package/_types/chains/definitions/telosTestnet.d.ts +1 -1
  946. package/_types/chains/definitions/tenet.d.ts +38 -0
  947. package/_types/chains/definitions/tenet.d.ts.map +1 -0
  948. package/_types/chains/definitions/thunderTestnet.d.ts +1 -1
  949. package/_types/chains/definitions/vechain.d.ts +1 -1
  950. package/_types/chains/definitions/xdc.d.ts +1 -1
  951. package/_types/chains/definitions/xdcTestnet.d.ts +1 -1
  952. package/_types/chains/definitions/zetachainAthensTestnet.d.ts +1 -1
  953. package/_types/chains/definitions/zhejiang.d.ts +1 -1
  954. package/_types/chains/definitions/zkSync.d.ts +48 -37
  955. package/_types/chains/definitions/zkSync.d.ts.map +1 -1
  956. package/_types/chains/definitions/zkSyncTestnet.d.ts +48 -37
  957. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  958. package/_types/chains/definitions/zora.d.ts +162 -119
  959. package/_types/chains/definitions/zora.d.ts.map +1 -1
  960. package/_types/chains/definitions/zoraSepolia.d.ts +162 -119
  961. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  962. package/_types/chains/definitions/zoraTestnet.d.ts +162 -119
  963. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  964. package/_types/chains/index.d.ts +21 -1
  965. package/_types/chains/index.d.ts.map +1 -1
  966. package/_types/chains/opStack/abis.d.ts +549 -0
  967. package/_types/chains/opStack/abis.d.ts.map +1 -0
  968. package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +63 -0
  969. package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +1 -0
  970. package/_types/chains/opStack/actions/depositTransaction.d.ts +96 -0
  971. package/_types/chains/opStack/actions/depositTransaction.d.ts.map +1 -0
  972. package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts +39 -0
  973. package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts.map +1 -0
  974. package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts +39 -0
  975. package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts.map +1 -0
  976. package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts +39 -0
  977. package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts.map +1 -0
  978. package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts +39 -0
  979. package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts.map +1 -0
  980. package/_types/chains/opStack/actions/estimateL1Fee.d.ts +43 -0
  981. package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +1 -0
  982. package/_types/chains/opStack/actions/estimateL1Gas.d.ts +43 -0
  983. package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +1 -0
  984. package/_types/chains/opStack/actions/estimateTotalFee.d.ts +37 -0
  985. package/_types/chains/opStack/actions/estimateTotalFee.d.ts.map +1 -0
  986. package/_types/chains/opStack/actions/estimateTotalGas.d.ts +36 -0
  987. package/_types/chains/opStack/actions/estimateTotalGas.d.ts.map +1 -0
  988. package/_types/chains/opStack/chainConfig.d.ts +542 -0
  989. package/_types/chains/opStack/chainConfig.d.ts.map +1 -0
  990. package/_types/chains/opStack/chains.d.ts +10 -0
  991. package/_types/chains/opStack/chains.d.ts.map +1 -0
  992. package/_types/chains/opStack/contracts.d.ts +21 -0
  993. package/_types/chains/opStack/contracts.d.ts.map +1 -0
  994. package/_types/chains/opStack/decorators/publicL2.d.ts +241 -0
  995. package/_types/chains/opStack/decorators/publicL2.d.ts.map +1 -0
  996. package/_types/chains/opStack/decorators/walletL1.d.ts +64 -0
  997. package/_types/chains/opStack/decorators/walletL1.d.ts.map +1 -0
  998. package/_types/chains/{optimism → opStack}/formatters.d.ts +138 -119
  999. package/_types/chains/{optimism → opStack}/formatters.d.ts.map +1 -1
  1000. package/_types/chains/opStack/index.d.ts +24 -0
  1001. package/_types/chains/opStack/index.d.ts.map +1 -0
  1002. package/_types/chains/opStack/parsers.d.ts +8 -0
  1003. package/_types/chains/opStack/parsers.d.ts.map +1 -0
  1004. package/_types/chains/opStack/serializers.d.ts +12 -0
  1005. package/_types/chains/opStack/serializers.d.ts.map +1 -0
  1006. package/_types/chains/opStack/types/block.d.ts +13 -0
  1007. package/_types/chains/opStack/types/block.d.ts.map +1 -0
  1008. package/_types/chains/opStack/types/chain.d.ts +9 -0
  1009. package/_types/chains/opStack/types/chain.d.ts.map +1 -0
  1010. package/_types/chains/opStack/types/contract.d.ts +13 -0
  1011. package/_types/chains/opStack/types/contract.d.ts.map +1 -0
  1012. package/_types/chains/opStack/types/transaction.d.ts +60 -0
  1013. package/_types/chains/opStack/types/transaction.d.ts.map +1 -0
  1014. package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts +446 -0
  1015. package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts.map +1 -0
  1016. package/_types/chains/opStack/utils/fromOpaqueData.d.ts +15 -0
  1017. package/_types/chains/opStack/utils/fromOpaqueData.d.ts.map +1 -0
  1018. package/_types/chains/opStack/utils/getL2TransactionHash.d.ts +12 -0
  1019. package/_types/chains/opStack/utils/getL2TransactionHash.d.ts.map +1 -0
  1020. package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts +11 -0
  1021. package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts.map +1 -0
  1022. package/_types/chains/opStack/utils/getSourceHash.d.ts +28 -0
  1023. package/_types/chains/opStack/utils/getSourceHash.d.ts.map +1 -0
  1024. package/_types/chains/utils.d.ts +0 -8
  1025. package/_types/chains/utils.d.ts.map +1 -1
  1026. package/_types/chains/zksync/chainConfig.d.ts +501 -0
  1027. package/_types/chains/zksync/chainConfig.d.ts.map +1 -0
  1028. package/_types/chains/zksync/formatters.d.ts +36 -25
  1029. package/_types/chains/zksync/formatters.d.ts.map +1 -1
  1030. package/_types/chains/zksync/index.d.ts +4 -0
  1031. package/_types/chains/zksync/index.d.ts.map +1 -0
  1032. package/_types/chains/zksync/serializers.d.ts +2 -2
  1033. package/_types/chains/zksync/serializers.d.ts.map +1 -1
  1034. package/_types/chains/zksync/types.d.ts +7 -7
  1035. package/_types/chains/zksync/types.d.ts.map +1 -1
  1036. package/_types/clients/createClient.d.ts +1 -1
  1037. package/_types/clients/decorators/public.d.ts +25 -25
  1038. package/_types/clients/decorators/public.d.ts.map +1 -1
  1039. package/_types/clients/decorators/test.d.ts +41 -0
  1040. package/_types/clients/decorators/test.d.ts.map +1 -1
  1041. package/_types/clients/decorators/wallet.d.ts +6 -6
  1042. package/_types/clients/decorators/wallet.d.ts.map +1 -1
  1043. package/_types/clients/transports/fallback.d.ts.map +1 -1
  1044. package/_types/constants/bytes.d.ts +2 -0
  1045. package/_types/constants/bytes.d.ts.map +1 -0
  1046. package/_types/constants/strings.d.ts +2 -0
  1047. package/_types/constants/strings.d.ts.map +1 -0
  1048. package/_types/errors/encoding.d.ts +0 -33
  1049. package/_types/errors/encoding.d.ts.map +1 -1
  1050. package/_types/errors/estimateGas.d.ts +1 -1
  1051. package/_types/errors/estimateGas.d.ts.map +1 -1
  1052. package/_types/errors/version.d.ts +1 -1
  1053. package/_types/errors/version.d.ts.map +1 -1
  1054. package/_types/index.d.ts +7 -25
  1055. package/_types/index.d.ts.map +1 -1
  1056. package/_types/types/account.d.ts +6 -3
  1057. package/_types/types/account.d.ts.map +1 -1
  1058. package/_types/types/chain.d.ts +12 -15
  1059. package/_types/types/chain.d.ts.map +1 -1
  1060. package/_types/types/contract.d.ts +6 -6
  1061. package/_types/types/contract.d.ts.map +1 -1
  1062. package/_types/types/eip1193.d.ts +21 -1
  1063. package/_types/types/eip1193.d.ts.map +1 -1
  1064. package/_types/types/ens.d.ts +1 -1
  1065. package/_types/types/ens.d.ts.map +1 -1
  1066. package/_types/types/filter.d.ts.map +1 -1
  1067. package/_types/types/log.d.ts.map +1 -1
  1068. package/_types/types/multicall.d.ts.map +1 -1
  1069. package/_types/types/rpc.d.ts +2 -2
  1070. package/_types/types/rpc.d.ts.map +1 -1
  1071. package/_types/types/transaction.d.ts +10 -1
  1072. package/_types/types/transaction.d.ts.map +1 -1
  1073. package/_types/types/utils.d.ts +33 -1
  1074. package/_types/types/utils.d.ts.map +1 -1
  1075. package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
  1076. package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -1
  1077. package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -1
  1078. package/_types/utils/abi/encodeDeployData.d.ts.map +1 -1
  1079. package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -1
  1080. package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
  1081. package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -1
  1082. package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -1
  1083. package/_types/utils/abi/parseEventLogs.d.ts +43 -0
  1084. package/_types/utils/abi/parseEventLogs.d.ts.map +1 -0
  1085. package/_types/utils/buildRequest.d.ts +3 -6
  1086. package/_types/utils/buildRequest.d.ts.map +1 -1
  1087. package/_types/utils/ccip.d.ts.map +1 -1
  1088. package/_types/utils/encoding/fromBytes.d.ts.map +1 -1
  1089. package/_types/utils/encoding/fromHex.d.ts.map +1 -1
  1090. package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
  1091. package/_types/utils/ens/namehash.d.ts +1 -1
  1092. package/_types/utils/ens/normalize.d.ts +2 -2
  1093. package/_types/utils/errors/getNodeError.d.ts.map +1 -1
  1094. package/_types/utils/formatters/block.d.ts +3 -7
  1095. package/_types/utils/formatters/block.d.ts.map +1 -1
  1096. package/_types/utils/formatters/formatter.d.ts +1 -1
  1097. package/_types/utils/formatters/transaction.d.ts +4 -8
  1098. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  1099. package/_types/utils/formatters/transactionReceipt.d.ts +2 -2
  1100. package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -1
  1101. package/_types/utils/formatters/transactionRequest.d.ts +2 -2
  1102. package/_types/utils/getAction.d.ts +8 -1
  1103. package/_types/utils/getAction.d.ts.map +1 -1
  1104. package/_types/utils/hash/getFunctionSignature.d.ts +4 -5
  1105. package/_types/utils/hash/getFunctionSignature.d.ts.map +1 -1
  1106. package/_types/utils/hash/normalizeSignature.d.ts +6 -0
  1107. package/_types/utils/hash/normalizeSignature.d.ts.map +1 -0
  1108. package/_types/utils/index.d.ts +3 -8
  1109. package/_types/utils/index.d.ts.map +1 -1
  1110. package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
  1111. package/_types/utils/signature/hashMessage.d.ts.map +1 -1
  1112. package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
  1113. package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
  1114. package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
  1115. package/_types/utils/unit/formatEther.d.ts +11 -0
  1116. package/_types/utils/unit/formatEther.d.ts.map +1 -1
  1117. package/_types/utils/unit/formatGwei.d.ts +11 -0
  1118. package/_types/utils/unit/formatGwei.d.ts.map +1 -1
  1119. package/_types/utils/unit/formatUnits.d.ts +11 -0
  1120. package/_types/utils/unit/formatUnits.d.ts.map +1 -1
  1121. package/_types/utils/unit/parseEther.d.ts +11 -0
  1122. package/_types/utils/unit/parseEther.d.ts.map +1 -1
  1123. package/_types/utils/unit/parseGwei.d.ts +11 -0
  1124. package/_types/utils/unit/parseGwei.d.ts.map +1 -1
  1125. package/_types/utils/unit/parseUnits.d.ts +11 -0
  1126. package/_types/utils/unit/parseUnits.d.ts.map +1 -1
  1127. package/accounts/utils/signTransaction.ts +4 -2
  1128. package/actions/ens/getEnsAddress.ts +3 -2
  1129. package/actions/ens/getEnsAvatar.ts +3 -2
  1130. package/actions/ens/getEnsName.ts +3 -2
  1131. package/actions/ens/getEnsResolver.ts +3 -2
  1132. package/actions/ens/getEnsText.ts +3 -2
  1133. package/actions/getContract.ts +12 -11
  1134. package/actions/index.ts +0 -4
  1135. package/actions/public/createContractEventFilter.ts +7 -7
  1136. package/actions/public/createEventFilter.ts +1 -1
  1137. package/actions/public/estimateContractGas.ts +3 -9
  1138. package/actions/public/estimateFeesPerGas.ts +8 -5
  1139. package/actions/public/estimateGas.ts +8 -14
  1140. package/actions/public/estimateMaxPriorityFeePerGas.ts +10 -6
  1141. package/actions/public/getBlock.ts +2 -2
  1142. package/actions/public/getBlockNumber.ts +3 -5
  1143. package/actions/public/getContractEvents.ts +1 -0
  1144. package/actions/public/getFilterChanges.ts +30 -39
  1145. package/actions/public/getFilterLogs.ts +17 -38
  1146. package/actions/public/getLogs.ts +16 -38
  1147. package/actions/public/getTransaction.ts +2 -2
  1148. package/actions/public/getTransactionConfirmations.ts +5 -3
  1149. package/actions/public/getTransactionReceipt.ts +2 -2
  1150. package/actions/public/multicall.ts +1 -0
  1151. package/actions/public/readContract.ts +2 -1
  1152. package/actions/public/simulateContract.ts +8 -5
  1153. package/actions/public/verifyHash.ts +1 -0
  1154. package/actions/public/waitForTransactionReceipt.ts +40 -13
  1155. package/actions/public/watchBlockNumber.ts +2 -1
  1156. package/actions/public/watchBlocks.ts +3 -1
  1157. package/actions/public/watchContractEvent.ts +21 -5
  1158. package/actions/public/watchEvent.ts +19 -4
  1159. package/actions/public/watchPendingTransactions.ts +13 -3
  1160. package/actions/test/dumpState.ts +44 -0
  1161. package/actions/test/loadState.ts +47 -0
  1162. package/actions/wallet/addChain.ts +17 -14
  1163. package/actions/wallet/deployContract.ts +3 -3
  1164. package/actions/wallet/prepareTransactionRequest.ts +137 -67
  1165. package/actions/wallet/requestAddresses.ts +4 -1
  1166. package/actions/wallet/requestPermissions.ts +7 -4
  1167. package/actions/wallet/sendRawTransaction.ts +7 -4
  1168. package/actions/wallet/sendTransaction.ts +19 -16
  1169. package/actions/wallet/signMessage.ts +7 -4
  1170. package/actions/wallet/signTransaction.ts +23 -19
  1171. package/actions/wallet/signTypedData.ts +7 -4
  1172. package/actions/wallet/switchChain.ts +11 -8
  1173. package/actions/wallet/watchAsset.ts +7 -4
  1174. package/actions/wallet/writeContract.ts +21 -12
  1175. package/chains/celo/chainConfig.ts +7 -0
  1176. package/chains/celo/formatters.ts +25 -39
  1177. package/chains/celo/index.ts +35 -0
  1178. package/chains/celo/package.json +6 -0
  1179. package/chains/celo/parsers.ts +10 -12
  1180. package/chains/celo/serializers.ts +28 -68
  1181. package/chains/celo/types.ts +32 -21
  1182. package/chains/celo/utils.ts +81 -0
  1183. package/chains/definitions/astar.ts +26 -0
  1184. package/chains/definitions/aurora.ts +6 -0
  1185. package/chains/definitions/base.ts +12 -2
  1186. package/chains/definitions/baseGoerli.ts +11 -3
  1187. package/chains/definitions/baseSepolia.ts +14 -3
  1188. package/chains/definitions/bscTestnet.ts +2 -1
  1189. package/chains/definitions/celo.ts +2 -4
  1190. package/chains/definitions/celoAlfajores.ts +2 -4
  1191. package/chains/definitions/celoCannoli.ts +2 -4
  1192. package/chains/definitions/chiliz.ts +23 -0
  1193. package/chains/definitions/confluxESpace.ts +1 -0
  1194. package/chains/definitions/confluxESpaceTestnet.ts +31 -0
  1195. package/chains/definitions/filecoin.ts +6 -0
  1196. package/chains/definitions/gnosis.ts +4 -1
  1197. package/chains/definitions/gnosisChiado.ts +10 -1
  1198. package/chains/definitions/kava.ts +26 -0
  1199. package/chains/definitions/kavaTestnet.ts +29 -0
  1200. package/chains/definitions/klaytn.ts +6 -0
  1201. package/chains/definitions/klaytnBaobab.ts +27 -0
  1202. package/chains/definitions/lukso.ts +28 -0
  1203. package/chains/definitions/neonDevnet.ts +1 -1
  1204. package/chains/definitions/neonMainnet.ts +24 -0
  1205. package/chains/definitions/optimism.ts +11 -2
  1206. package/chains/definitions/optimismGoerli.ts +11 -2
  1207. package/chains/definitions/optimismSepolia.ts +11 -2
  1208. package/chains/definitions/pgn.ts +34 -0
  1209. package/chains/definitions/pgnTestnet.ts +35 -0
  1210. package/chains/definitions/rootstock.ts +26 -0
  1211. package/chains/definitions/sapphire.ts +30 -0
  1212. package/chains/definitions/sapphireTestnet.ts +25 -0
  1213. package/chains/definitions/scrollSepolia.ts +0 -1
  1214. package/chains/definitions/shibarium.ts +32 -0
  1215. package/chains/definitions/shimmer.ts +26 -0
  1216. package/chains/definitions/shimmerTestnet.ts +27 -0
  1217. package/chains/definitions/spicy.ts +31 -0
  1218. package/chains/definitions/tenet.ts +20 -0
  1219. package/chains/definitions/zkSync.ts +2 -4
  1220. package/chains/definitions/zkSyncTestnet.ts +2 -4
  1221. package/chains/definitions/zora.ts +11 -2
  1222. package/chains/definitions/zoraSepolia.ts +11 -2
  1223. package/chains/definitions/zoraTestnet.ts +11 -2
  1224. package/chains/index.ts +38 -3
  1225. package/chains/opStack/abis.ts +391 -0
  1226. package/chains/opStack/actions/buildDepositTransaction.ts +151 -0
  1227. package/chains/opStack/actions/depositTransaction.ts +171 -0
  1228. package/chains/opStack/actions/estimateContractL1Fee.ts +142 -0
  1229. package/chains/opStack/actions/estimateContractL1Gas.ts +142 -0
  1230. package/chains/opStack/actions/estimateContractTotalFee.ts +144 -0
  1231. package/chains/opStack/actions/estimateContractTotalGas.ts +144 -0
  1232. package/chains/opStack/actions/estimateL1Fee.ts +138 -0
  1233. package/chains/opStack/actions/estimateL1Gas.ts +138 -0
  1234. package/chains/opStack/actions/estimateTotalFee.ts +86 -0
  1235. package/chains/opStack/actions/estimateTotalGas.ts +80 -0
  1236. package/chains/opStack/chainConfig.ts +9 -0
  1237. package/chains/opStack/chains.ts +9 -0
  1238. package/chains/opStack/contracts.ts +14 -0
  1239. package/chains/opStack/decorators/publicL2.ts +380 -0
  1240. package/chains/opStack/decorators/walletL1.ts +86 -0
  1241. package/chains/{optimism → opStack}/formatters.ts +20 -18
  1242. package/chains/opStack/index.ts +142 -0
  1243. package/chains/opStack/package.json +6 -0
  1244. package/chains/opStack/parsers.ts +88 -0
  1245. package/chains/opStack/serializers.ts +88 -0
  1246. package/chains/opStack/types/block.ts +34 -0
  1247. package/chains/opStack/types/chain.ts +7 -0
  1248. package/chains/opStack/types/contract.ts +17 -0
  1249. package/chains/opStack/types/transaction.ts +108 -0
  1250. package/chains/opStack/utils/extractTransactionDepositedLogs.ts +36 -0
  1251. package/chains/opStack/utils/fromOpaqueData.ts +40 -0
  1252. package/chains/opStack/utils/getL2TransactionHash.ts +52 -0
  1253. package/chains/opStack/utils/getL2TransactionHashes.ts +21 -0
  1254. package/chains/opStack/utils/getSourceHash.ts +61 -0
  1255. package/chains/utils.ts +0 -83
  1256. package/chains/zksync/chainConfig.ts +7 -0
  1257. package/chains/zksync/formatters.ts +8 -4
  1258. package/chains/zksync/index.ts +33 -0
  1259. package/chains/zksync/package.json +6 -0
  1260. package/chains/zksync/serializers.ts +7 -9
  1261. package/chains/zksync/types.ts +7 -7
  1262. package/clients/createClient.ts +1 -1
  1263. package/clients/createWalletClient.ts +1 -1
  1264. package/clients/decorators/public.ts +42 -31
  1265. package/clients/decorators/test.ts +50 -0
  1266. package/clients/decorators/wallet.ts +26 -7
  1267. package/clients/transports/fallback.ts +24 -6
  1268. package/constants/bytes.ts +2 -0
  1269. package/constants/strings.ts +1 -0
  1270. package/errors/base.ts +2 -2
  1271. package/errors/contract.ts +1 -1
  1272. package/errors/encoding.ts +0 -43
  1273. package/errors/estimateGas.ts +2 -2
  1274. package/errors/transaction.ts +1 -1
  1275. package/errors/version.ts +1 -1
  1276. package/index.ts +5 -27
  1277. package/package.json +31 -37
  1278. package/types/account.ts +11 -2
  1279. package/types/chain.ts +23 -12
  1280. package/types/contract.ts +68 -84
  1281. package/types/eip1193.ts +24 -0
  1282. package/types/ens.ts +1 -1
  1283. package/types/filter.ts +12 -12
  1284. package/types/log.ts +4 -4
  1285. package/types/multicall.ts +66 -61
  1286. package/types/rpc.ts +9 -4
  1287. package/types/transaction.ts +14 -5
  1288. package/types/utils.ts +46 -7
  1289. package/utils/abi/decodeEventLog.ts +2 -1
  1290. package/utils/abi/decodeFunctionData.ts +2 -1
  1291. package/utils/abi/decodeFunctionResult.ts +2 -2
  1292. package/utils/abi/encodeDeployData.ts +2 -2
  1293. package/utils/abi/encodeErrorResult.ts +2 -2
  1294. package/utils/abi/encodeEventTopics.ts +6 -6
  1295. package/utils/abi/encodeFunctionData.ts +2 -2
  1296. package/utils/abi/encodeFunctionResult.ts +2 -2
  1297. package/utils/abi/parseEventLogs.ts +129 -0
  1298. package/utils/buildRequest.ts +46 -41
  1299. package/utils/ccip.ts +4 -3
  1300. package/utils/encoding/fromBytes.ts +8 -8
  1301. package/utils/encoding/fromHex.ts +8 -8
  1302. package/utils/encoding/toBytes.ts +2 -2
  1303. package/utils/encoding/toRlp.ts +3 -1
  1304. package/utils/ens/avatar/utils.ts +3 -1
  1305. package/utils/ens/namehash.ts +1 -1
  1306. package/utils/ens/normalize.ts +2 -2
  1307. package/utils/errors/getContractError.ts +2 -2
  1308. package/utils/errors/getNodeError.ts +12 -11
  1309. package/utils/formatters/block.ts +2 -4
  1310. package/utils/formatters/formatter.ts +1 -1
  1311. package/utils/formatters/transaction.ts +22 -7
  1312. package/utils/formatters/transactionReceipt.ts +1 -1
  1313. package/utils/getAction.ts +11 -1
  1314. package/utils/hash/getFunctionSignature.ts +11 -21
  1315. package/utils/hash/normalizeSignature.ts +64 -0
  1316. package/utils/index.ts +6 -17
  1317. package/utils/observe.ts +1 -1
  1318. package/utils/promise/createBatchScheduler.ts +8 -4
  1319. package/utils/signature/hashMessage.ts +2 -1
  1320. package/utils/transaction/getSerializedTransactionType.ts +2 -2
  1321. package/utils/transaction/getTransactionType.ts +2 -1
  1322. package/utils/transaction/serializeTransaction.ts +41 -19
  1323. package/utils/unit/formatEther.ts +11 -0
  1324. package/utils/unit/formatGwei.ts +11 -0
  1325. package/utils/unit/formatUnits.ts +11 -0
  1326. package/utils/unit/parseEther.ts +11 -0
  1327. package/utils/unit/parseGwei.ts +11 -0
  1328. package/utils/unit/parseUnits.ts +11 -0
  1329. package/_cjs/chains/optimism/formatters.js.map +0 -1
  1330. package/_cjs/chains/optimism/types.js.map +0 -1
  1331. package/_cjs/utils/contract/extractFunctionParts.js +0 -31
  1332. package/_cjs/utils/contract/extractFunctionParts.js.map +0 -1
  1333. package/_esm/chains/optimism/formatters.js.map +0 -1
  1334. package/_esm/chains/optimism/types.js +0 -2
  1335. package/_esm/chains/optimism/types.js.map +0 -1
  1336. package/_esm/utils/contract/extractFunctionParts.js +0 -24
  1337. package/_esm/utils/contract/extractFunctionParts.js.map +0 -1
  1338. package/_types/chains/optimism/types.d.ts +0 -53
  1339. package/_types/chains/optimism/types.d.ts.map +0 -1
  1340. package/_types/utils/contract/extractFunctionParts.d.ts +0 -18
  1341. package/_types/utils/contract/extractFunctionParts.d.ts.map +0 -1
  1342. package/chains/optimism/types.ts +0 -102
  1343. package/utils/contract/extractFunctionParts.ts +0 -37
@@ -1 +1 @@
1
- {"version":3,"file":"contract.js","sourceRoot":"","sources":["../../errors/contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAEhE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGvD,OAAO,EAEL,iBAAiB,GAClB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAExD,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAK/C,MAAM,OAA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;;;mBAAO,CAAC;WAAA;QACC;;;;mBAAO,kBAAkB;WAAA;QAElC;;;;;WAA2B;QAOzB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IAClB,CAAC;CACF"}
@@ -1,28 +1,4 @@
1
1
  import { BaseError } from './base.js';
2
- /** @deprecated */
3
- export class DataLengthTooLongError extends BaseError {
4
- constructor({ consumed, length }) {
5
- super(`Consumed bytes (${consumed}) is shorter than data length (${length - 1}).`);
6
- Object.defineProperty(this, "name", {
7
- enumerable: true,
8
- configurable: true,
9
- writable: true,
10
- value: 'DataLengthTooLongError'
11
- });
12
- }
13
- }
14
- /** @deprecated */
15
- export class DataLengthTooShortError extends BaseError {
16
- constructor({ length, dataLength }) {
17
- super(`Data length (${dataLength - 1}) is shorter than consumed bytes length (${length - 1}).`);
18
- Object.defineProperty(this, "name", {
19
- enumerable: true,
20
- configurable: true,
21
- writable: true,
22
- value: 'DataLengthTooShortError'
23
- });
24
- }
25
- }
26
2
  export class IntegerOutOfRangeError extends BaseError {
27
3
  constructor({ max, min, signed, size, value, }) {
28
4
  super(`Number "${value}" is not in safe ${size ? `${size * 8}-bit ${signed ? 'signed' : 'unsigned'} ` : ''}integer range ${max ? `(${min} to ${max})` : `(above ${min})`}`);
@@ -67,18 +43,6 @@ export class InvalidHexValueError extends BaseError {
67
43
  });
68
44
  }
69
45
  }
70
- /** @deprecated */
71
- export class OffsetOutOfBoundsError extends BaseError {
72
- constructor({ nextOffset, offset }) {
73
- super(`Next offset (${nextOffset}) is greater than previous offset + consumed bytes (${offset})`);
74
- Object.defineProperty(this, "name", {
75
- enumerable: true,
76
- configurable: true,
77
- writable: true,
78
- value: 'OffsetOutOfBoundsError'
79
- });
80
- }
81
- }
82
46
  export class SizeOverflowError extends BaseError {
83
47
  constructor({ givenSize, maxSize }) {
84
48
  super(`Size cannot exceed ${maxSize} bytes. Given size: ${givenSize} bytes.`);
@@ -1 +1 @@
1
- {"version":3,"file":"encoding.js","sourceRoot":"","sources":["../../errors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AAC;CACF;AAKD,MAAM,OAAO,wBAAyB,SAAQ,SAAS;IAErD,YAAY,KAAgB;QAC1B,KAAK,CACH,gBAAgB,KAAK,gGAAgG,CACtH,CAAA;QAJM;;;;mBAAO,0BAA0B;WAAA;IAK1C,CAAC;CACF;AAKD,MAAM,OAAO,sBAAuB,SAAQ,SAAS;IAEnD,YAAY,GAAQ;QAClB,KAAK,CACH,cAAc,GAAG,gFAAgF,CAClG,CAAA;QAJM;;;;mBAAO,wBAAwB;WAAA;IAKxC,CAAC;CACF;AAKD,MAAM,OAAO,oBAAqB,SAAQ,SAAS;IAEjD,YAAY,KAAU;QACpB,KAAK,CACH,cAAc,KAAK,uBAAuB,KAAK,CAAC,MAAM,+BAA+B,CACtF,CAAA;QAJM;;;;mBAAO,sBAAsB;WAAA;IAKtC,CAAC;CACF;AAKD,MAAM,OAAO,iBAAkB,SAAQ,SAAS;IAE9C,YAAY,EAAE,SAAS,EAAE,OAAO,EAA0C;QACxE,KAAK,CACH,sBAAsB,OAAO,uBAAuB,SAAS,SAAS,CACvE,CAAA;QAJM;;;;mBAAO,mBAA4B;WAAA;IAK5C,CAAC;CACF"}
@@ -8,7 +8,7 @@ export class EstimateGasExecutionError extends BaseError {
8
8
  from: account?.address,
9
9
  to,
10
10
  value: typeof value !== 'undefined' &&
11
- `${formatEther(value)} ${chain?.nativeCurrency.symbol || 'ETH'}`,
11
+ `${formatEther(value)} ${chain?.nativeCurrency?.symbol || 'ETH'}`,
12
12
  data,
13
13
  gas,
14
14
  gasPrice: typeof gasPrice !== 'undefined' && `${formatGwei(gasPrice)} gwei`,
@@ -1 +1 @@
1
- {"version":3,"file":"estimateGas.js","sourceRoot":"","sources":["../../errors/estimateGas.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAExD,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC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AM,CAAC,OAAO,CAAa;SAC9B,CAAC,CAAA;QAnDK;;;;;WAAgB;QAEhB;;;;mBAAO,2BAA2B;WAAA;QAkDzC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;IACpB,CAAC;CACF"}
@@ -1,6 +1,6 @@
1
1
  import { formatGwei } from '../utils/unit/formatGwei.js';
2
2
  import { BaseError } from './base.js';
3
- class ExecutionRevertedError extends BaseError {
3
+ export class ExecutionRevertedError extends BaseError {
4
4
  constructor({ cause, message, } = {}) {
5
5
  const reason = message
6
6
  ?.replace('execution reverted: ', '')
@@ -28,8 +28,7 @@ Object.defineProperty(ExecutionRevertedError, "nodeMessage", {
28
28
  writable: true,
29
29
  value: /execution reverted/
30
30
  });
31
- export { ExecutionRevertedError };
32
- class FeeCapTooHighError extends BaseError {
31
+ export class FeeCapTooHighError extends BaseError {
33
32
  constructor({ cause, maxFeePerGas, } = {}) {
34
33
  super(`The fee cap (\`maxFeePerGas\`${maxFeePerGas ? ` = ${formatGwei(maxFeePerGas)} gwei` : ''}) cannot be higher than the maximum allowed value (2^256-1).`, {
35
34
  cause,
@@ -48,8 +47,7 @@ Object.defineProperty(FeeCapTooHighError, "nodeMessage", {
48
47
  writable: true,
49
48
  value: /max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/
50
49
  });
51
- export { FeeCapTooHighError };
52
- class FeeCapTooLowError extends BaseError {
50
+ export class FeeCapTooLowError extends BaseError {
53
51
  constructor({ cause, maxFeePerGas, } = {}) {
54
52
  super(`The fee cap (\`maxFeePerGas\`${maxFeePerGas ? ` = ${formatGwei(maxFeePerGas)}` : ''} gwei) cannot be lower than the block base fee.`, {
55
53
  cause,
@@ -68,8 +66,7 @@ Object.defineProperty(FeeCapTooLowError, "nodeMessage", {
68
66
  writable: true,
69
67
  value: /max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/
70
68
  });
71
- export { FeeCapTooLowError };
72
- class NonceTooHighError extends BaseError {
69
+ export class NonceTooHighError extends BaseError {
73
70
  constructor({ cause, nonce } = {}) {
74
71
  super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}is higher than the next one expected.`, { cause });
75
72
  Object.defineProperty(this, "name", {
@@ -86,8 +83,7 @@ Object.defineProperty(NonceTooHighError, "nodeMessage", {
86
83
  writable: true,
87
84
  value: /nonce too high/
88
85
  });
89
- export { NonceTooHighError };
90
- class NonceTooLowError extends BaseError {
86
+ export class NonceTooLowError extends BaseError {
91
87
  constructor({ cause, nonce } = {}) {
92
88
  super([
93
89
  `Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}is lower than the current nonce of the account.`,
@@ -107,8 +103,7 @@ Object.defineProperty(NonceTooLowError, "nodeMessage", {
107
103
  writable: true,
108
104
  value: /nonce too low|transaction already imported|already known/
109
105
  });
110
- export { NonceTooLowError };
111
- class NonceMaxValueError extends BaseError {
106
+ export class NonceMaxValueError extends BaseError {
112
107
  constructor({ cause, nonce } = {}) {
113
108
  super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}exceeds the maximum allowed nonce.`, { cause });
114
109
  Object.defineProperty(this, "name", {
@@ -125,8 +120,7 @@ Object.defineProperty(NonceMaxValueError, "nodeMessage", {
125
120
  writable: true,
126
121
  value: /nonce has max value/
127
122
  });
128
- export { NonceMaxValueError };
129
- class InsufficientFundsError extends BaseError {
123
+ export class InsufficientFundsError extends BaseError {
130
124
  constructor({ cause } = {}) {
131
125
  super([
132
126
  'The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.',
@@ -157,8 +151,7 @@ Object.defineProperty(InsufficientFundsError, "nodeMessage", {
157
151
  writable: true,
158
152
  value: /insufficient funds/
159
153
  });
160
- export { InsufficientFundsError };
161
- class IntrinsicGasTooHighError extends BaseError {
154
+ export class IntrinsicGasTooHighError extends BaseError {
162
155
  constructor({ cause, gas } = {}) {
163
156
  super(`The amount of gas ${gas ? `(${gas}) ` : ''}provided for the transaction exceeds the limit allowed for the block.`, {
164
157
  cause,
@@ -177,8 +170,7 @@ Object.defineProperty(IntrinsicGasTooHighError, "nodeMessage", {
177
170
  writable: true,
178
171
  value: /intrinsic gas too high|gas limit reached/
179
172
  });
180
- export { IntrinsicGasTooHighError };
181
- class IntrinsicGasTooLowError extends BaseError {
173
+ export class IntrinsicGasTooLowError extends BaseError {
182
174
  constructor({ cause, gas } = {}) {
183
175
  super(`The amount of gas ${gas ? `(${gas}) ` : ''}provided for the transaction is too low.`, {
184
176
  cause,
@@ -197,8 +189,7 @@ Object.defineProperty(IntrinsicGasTooLowError, "nodeMessage", {
197
189
  writable: true,
198
190
  value: /intrinsic gas too low/
199
191
  });
200
- export { IntrinsicGasTooLowError };
201
- class TransactionTypeNotSupportedError extends BaseError {
192
+ export class TransactionTypeNotSupportedError extends BaseError {
202
193
  constructor({ cause }) {
203
194
  super('The transaction type is not supported for this chain.', {
204
195
  cause,
@@ -217,8 +208,7 @@ Object.defineProperty(TransactionTypeNotSupportedError, "nodeMessage", {
217
208
  writable: true,
218
209
  value: /transaction type not valid/
219
210
  });
220
- export { TransactionTypeNotSupportedError };
221
- class TipAboveFeeCapError extends BaseError {
211
+ export class TipAboveFeeCapError extends BaseError {
222
212
  constructor({ cause, maxPriorityFeePerGas, maxFeePerGas, } = {}) {
223
213
  super([
224
214
  `The provided tip (\`maxPriorityFeePerGas\`${maxPriorityFeePerGas
@@ -241,7 +231,6 @@ Object.defineProperty(TipAboveFeeCapError, "nodeMessage", {
241
231
  writable: true,
242
232
  value: /max priority fee per gas higher than max fee per gas|tip higher than fee cap/
243
233
  });
244
- export { TipAboveFeeCapError };
245
234
  export class UnknownNodeError extends BaseError {
246
235
  constructor({ cause }) {
247
236
  super(`An error occurred while executing: ${cause?.shortMessage}`, {
@@ -1 +1 @@
1
- {"version":3,"file":"node.js","sourceRoot":"","sources":["../../errors/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAExD,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,C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AuB;EAA1B,CAA0B;AAkB9C,MAAM,OAAO,gCAAiC,SAAQ,SAAS;IAG7D,YAAY,EAAE,KAAK,EAAyB;QAC1C,KAAK,CAAC,uDAAuD,EAAE;YAC7D,KAAK;SACN,CAAC,CAAA;QAJK;;;;mBAAO,kCAAkC;WAAA;IAKlD,CAAC;;AANM;;;;WAAc,4BAA4B;EAA/B,CAA+B;AAYnD,MAAM,OAAO,mBAAoB,SAAQ,SAAS;IAIhD,YAAY,EACV,KAAK,EACL,oBAAoB,EACpB,YAAY,MAKV,EAAE;QACJ,KAAK,CACH;YACE,6CACE,oBAAoB;gBAClB,CAAC,CAAC,MAAM,UAAU,CAAC,oBAAoB,CAAC,OAAO;gBAC/C,CAAC,CAAC,EACN,wDACE,YAAY,CAAC,CAAC,CAAC,MAAM,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,EACzD,IAAI;SACL,CAAC,IAAI,CAAC,IAAI,CAAC,EACZ;YACE,KAAK;SACN,CACF,CAAA;QAvBM;;;;mBAAO,qBAAqB;WAAA;IAwBrC,CAAC;;AA1BM;;;;WACL,8EAA8E;EAD9D,CAC8D;AA+BlF,MAAM,OAAO,gBAAiB,SAAQ,SAAS;IAG7C,YAAY,EAAE,KAAK,EAAyB;QAC1C,KAAK,CAAC,sCAAsC,KAAK,EAAE,YAAY,EAAE,EAAE;YACjE,KAAK;SACN,CAAC,CAAA;QALK;;;;mBAAO,kBAAkB;WAAA;IAMlC,CAAC;CACF"}
@@ -42,7 +42,7 @@ export class ProviderRpcError extends RpcError {
42
42
  this.data = options.data;
43
43
  }
44
44
  }
45
- class ParseRpcError extends RpcError {
45
+ export class ParseRpcError extends RpcError {
46
46
  constructor(cause) {
47
47
  super(cause, {
48
48
  code: ParseRpcError.code,
@@ -62,8 +62,7 @@ Object.defineProperty(ParseRpcError, "code", {
62
62
  writable: true,
63
63
  value: -32700
64
64
  });
65
- export { ParseRpcError };
66
- class InvalidRequestRpcError extends RpcError {
65
+ export class InvalidRequestRpcError extends RpcError {
67
66
  constructor(cause) {
68
67
  super(cause, {
69
68
  code: InvalidRequestRpcError.code,
@@ -83,8 +82,7 @@ Object.defineProperty(InvalidRequestRpcError, "code", {
83
82
  writable: true,
84
83
  value: -32600
85
84
  });
86
- export { InvalidRequestRpcError };
87
- class MethodNotFoundRpcError extends RpcError {
85
+ export class MethodNotFoundRpcError extends RpcError {
88
86
  constructor(cause) {
89
87
  super(cause, {
90
88
  code: MethodNotFoundRpcError.code,
@@ -104,8 +102,7 @@ Object.defineProperty(MethodNotFoundRpcError, "code", {
104
102
  writable: true,
105
103
  value: -32601
106
104
  });
107
- export { MethodNotFoundRpcError };
108
- class InvalidParamsRpcError extends RpcError {
105
+ export class InvalidParamsRpcError extends RpcError {
109
106
  constructor(cause) {
110
107
  super(cause, {
111
108
  code: InvalidParamsRpcError.code,
@@ -128,8 +125,7 @@ Object.defineProperty(InvalidParamsRpcError, "code", {
128
125
  writable: true,
129
126
  value: -32602
130
127
  });
131
- export { InvalidParamsRpcError };
132
- class InternalRpcError extends RpcError {
128
+ export class InternalRpcError extends RpcError {
133
129
  constructor(cause) {
134
130
  super(cause, {
135
131
  code: InternalRpcError.code,
@@ -149,8 +145,7 @@ Object.defineProperty(InternalRpcError, "code", {
149
145
  writable: true,
150
146
  value: -32603
151
147
  });
152
- export { InternalRpcError };
153
- class InvalidInputRpcError extends RpcError {
148
+ export class InvalidInputRpcError extends RpcError {
154
149
  constructor(cause) {
155
150
  super(cause, {
156
151
  code: InvalidInputRpcError.code,
@@ -173,8 +168,7 @@ Object.defineProperty(InvalidInputRpcError, "code", {
173
168
  writable: true,
174
169
  value: -32000
175
170
  });
176
- export { InvalidInputRpcError };
177
- class ResourceNotFoundRpcError extends RpcError {
171
+ export class ResourceNotFoundRpcError extends RpcError {
178
172
  constructor(cause) {
179
173
  super(cause, {
180
174
  code: ResourceNotFoundRpcError.code,
@@ -194,8 +188,7 @@ Object.defineProperty(ResourceNotFoundRpcError, "code", {
194
188
  writable: true,
195
189
  value: -32001
196
190
  });
197
- export { ResourceNotFoundRpcError };
198
- class ResourceUnavailableRpcError extends RpcError {
191
+ export class ResourceUnavailableRpcError extends RpcError {
199
192
  constructor(cause) {
200
193
  super(cause, {
201
194
  code: ResourceUnavailableRpcError.code,
@@ -215,8 +208,7 @@ Object.defineProperty(ResourceUnavailableRpcError, "code", {
215
208
  writable: true,
216
209
  value: -32002
217
210
  });
218
- export { ResourceUnavailableRpcError };
219
- class TransactionRejectedRpcError extends RpcError {
211
+ export class TransactionRejectedRpcError extends RpcError {
220
212
  constructor(cause) {
221
213
  super(cause, {
222
214
  code: TransactionRejectedRpcError.code,
@@ -236,8 +228,7 @@ Object.defineProperty(TransactionRejectedRpcError, "code", {
236
228
  writable: true,
237
229
  value: -32003
238
230
  });
239
- export { TransactionRejectedRpcError };
240
- class MethodNotSupportedRpcError extends RpcError {
231
+ export class MethodNotSupportedRpcError extends RpcError {
241
232
  constructor(cause) {
242
233
  super(cause, {
243
234
  code: MethodNotSupportedRpcError.code,
@@ -257,8 +248,7 @@ Object.defineProperty(MethodNotSupportedRpcError, "code", {
257
248
  writable: true,
258
249
  value: -32004
259
250
  });
260
- export { MethodNotSupportedRpcError };
261
- class LimitExceededRpcError extends RpcError {
251
+ export class LimitExceededRpcError extends RpcError {
262
252
  constructor(cause) {
263
253
  super(cause, {
264
254
  code: LimitExceededRpcError.code,
@@ -278,8 +268,7 @@ Object.defineProperty(LimitExceededRpcError, "code", {
278
268
  writable: true,
279
269
  value: -32005
280
270
  });
281
- export { LimitExceededRpcError };
282
- class JsonRpcVersionUnsupportedError extends RpcError {
271
+ export class JsonRpcVersionUnsupportedError extends RpcError {
283
272
  constructor(cause) {
284
273
  super(cause, {
285
274
  code: JsonRpcVersionUnsupportedError.code,
@@ -299,8 +288,7 @@ Object.defineProperty(JsonRpcVersionUnsupportedError, "code", {
299
288
  writable: true,
300
289
  value: -32006
301
290
  });
302
- export { JsonRpcVersionUnsupportedError };
303
- class UserRejectedRequestError extends ProviderRpcError {
291
+ export class UserRejectedRequestError extends ProviderRpcError {
304
292
  constructor(cause) {
305
293
  super(cause, {
306
294
  code: UserRejectedRequestError.code,
@@ -320,8 +308,7 @@ Object.defineProperty(UserRejectedRequestError, "code", {
320
308
  writable: true,
321
309
  value: 4001
322
310
  });
323
- export { UserRejectedRequestError };
324
- class UnauthorizedProviderError extends ProviderRpcError {
311
+ export class UnauthorizedProviderError extends ProviderRpcError {
325
312
  constructor(cause) {
326
313
  super(cause, {
327
314
  code: UnauthorizedProviderError.code,
@@ -341,8 +328,7 @@ Object.defineProperty(UnauthorizedProviderError, "code", {
341
328
  writable: true,
342
329
  value: 4100
343
330
  });
344
- export { UnauthorizedProviderError };
345
- class UnsupportedProviderMethodError extends ProviderRpcError {
331
+ export class UnsupportedProviderMethodError extends ProviderRpcError {
346
332
  constructor(cause) {
347
333
  super(cause, {
348
334
  code: UnsupportedProviderMethodError.code,
@@ -362,8 +348,7 @@ Object.defineProperty(UnsupportedProviderMethodError, "code", {
362
348
  writable: true,
363
349
  value: 4200
364
350
  });
365
- export { UnsupportedProviderMethodError };
366
- class ProviderDisconnectedError extends ProviderRpcError {
351
+ export class ProviderDisconnectedError extends ProviderRpcError {
367
352
  constructor(cause) {
368
353
  super(cause, {
369
354
  code: ProviderDisconnectedError.code,
@@ -383,8 +368,7 @@ Object.defineProperty(ProviderDisconnectedError, "code", {
383
368
  writable: true,
384
369
  value: 4900
385
370
  });
386
- export { ProviderDisconnectedError };
387
- class ChainDisconnectedError extends ProviderRpcError {
371
+ export class ChainDisconnectedError extends ProviderRpcError {
388
372
  constructor(cause) {
389
373
  super(cause, {
390
374
  code: ChainDisconnectedError.code,
@@ -404,8 +388,7 @@ Object.defineProperty(ChainDisconnectedError, "code", {
404
388
  writable: true,
405
389
  value: 4901
406
390
  });
407
- export { ChainDisconnectedError };
408
- class SwitchChainError extends ProviderRpcError {
391
+ export class SwitchChainError extends ProviderRpcError {
409
392
  constructor(cause) {
410
393
  super(cause, {
411
394
  code: SwitchChainError.code,
@@ -425,7 +408,6 @@ Object.defineProperty(SwitchChainError, "code", {
425
408
  writable: true,
426
409
  value: 4902
427
410
  });
428
- export { SwitchChainError };
429
411
  export class UnknownRpcError extends RpcError {
430
412
  constructor(cause) {
431
413
  super(cause, {
@@ -1 +1 @@
1
- {"version":3,"file":"rpc.js","sourceRoot":"","sources":["../../errors/rpc.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAE9C,MAAM,gBAAgB,GAAG,CAAC,CAAC,CAAA;AA+B3B,MAAM,OAAO,QAA8C,SAAQ,SAAS;IAK1E,YACE,KAAY,EACZ,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAA0B;QAEtE,KAAK,CAAC,YAAY,EAAE;YAClB,KAAK;YACL,QAAQ;YACR,YAAY,EACV,YAAY,IAAK,KAAqC,EAAE,YAAY;SACvE,CAAC,CAAA;QAbK;;;;mBAAO,UAAU;WAAA;QAE1B;;;;;WAA2B;QAYzB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAA;QACtB,IAAI,CAAC,IAAI,GAAG,CACV,KAAK,YAAY,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,gBAAgB,CAChE,CAAA;IACZ,CAAC;CACF;AAkBD,MAAM,OAAO,gBAEX,SAAQ,QAA8B;IAKtC,YACE,KAAY,EACZ,OAIC;QAED,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QAZd;;;;mBAAO,kBAAkB;WAAA;QAElC;;;;;WAAQ;QAYN,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1B,CAAC;CACF;AAWD,MAAa,aAAc,SAAQ,QAAQ;IAIzC,YAAY,KAAY;QACtB,KAAK,CAAC,KAAK,EAAE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: account?.address,
133
133
  to,
134
134
  value: typeof value !== 'undefined' &&
135
- `${formatEther(value)} ${chain?.nativeCurrency.symbol || 'ETH'}`,
135
+ `${formatEther(value)} ${chain?.nativeCurrency?.symbol || 'ETH'}`,
136
136
  data,
137
137
  gas,
138
138
  gasPrice: typeof gasPrice !== 'undefined' && `${formatGwei(gasPrice)} gwei`,
@@ -1 +1 @@
1
- {"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../errors/transaction.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAExD,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC,MAAM,UAAU,WAAW,CACzB,IAA4E;IAE5E,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC;SACjC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACpB,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,KAAK;YAAE,OAAO,IAAI,CAAA;QACvD,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;IACrB,CAAC,CAAC;SACD,MAAM,CAAC,OAAO,CAAuB,CAAA;IACxC,MAAM,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAA;IAC9E,OAAO,OAAO;SACX,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,GAAG,CAAC,CAAC,KAAK,KAAK,EAAE,CAAC;SACvE,IAAI,CAAC,IAAI,CAAC,CAAA;AACf,CAAC;AAKD,MAAM,OAA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IAAI,KAAK,KAAK,SAAS;YACjC,UAAU,GAAG,8BAA8B,QAAQ,eAAe,KAAK,GAAG,CAAA;QAC5E,IAAI,SAAS,IAAI,KAAK,KAAK,SAAS;YAClC,UAAU,GAAG,8BAA8B,SAAS,eAAe,KAAK,GAAG,CAAA;QAC7E,IAAI,WAAW,IAAI,KAAK,KAAK,SAAS;YACpC,UAAU,GAAG,gCAAgC,WAAW,eAAe,KAAK,GAAG,CAAA;QACjF,IAAI,IAAI;YAAE,UAAU,GAAG,0BAA0B,IAAI,GAAG,CAAA;QACxD,KAAK,CAAC,GAAG,UAAU,sBAAsB,CAAC,CAAA;QAtBnC;;;;mBAAO,0BAA0B;WAAA;IAuB1C,CAAC;CACF;AAMD,MAAM,OAAO,+BAAgC,SAAQ,SAAS;IAE5D,YAAY,EAAE,IAAI,EAAkB;QAClC,KAAK,CACH,kCAAkC,IAAI,4EAA4E,CACnH,CAAA;QAJM;;;;mBAAO,iCAAiC;WAAA;IAKjD,CAAC;CACF;AAMD,MAAM,OAAO,qCAAsC,SAAQ,SAAS;IAElE,YAAY,EAAE,IAAI,EAAkB;QAClC,KAAK,CACH,sDAAsD,IAAI,oBAAoB,CAC/E,CAAA;QAJM;;;;mBAAO,uCAAuC;WAAA;IAKvD,CAAC;CACF"}
@@ -1,2 +1,2 @@
1
- export const version = '2.0.0-beta.0';
1
+ export const version = '2.0.0-beta.9';
2
2
  //# sourceMappingURL=version.js.map
package/_esm/index.js CHANGED
@@ -18,6 +18,8 @@ export { multicall3Abi, erc20Abi, erc20Abi_bytes32, erc721Abi, erc4626Abi, } fro
18
18
  export { zeroAddress } from './constants/address.js';
19
19
  export { etherUnits, gweiUnits, weiUnits } from './constants/unit.js';
20
20
  export { maxInt8, maxInt16, maxInt24, maxInt32, maxInt40, maxInt48, maxInt56, maxInt64, maxInt72, maxInt80, maxInt88, maxInt96, maxInt104, maxInt112, maxInt120, maxInt128, maxInt136, maxInt144, maxInt152, maxInt160, maxInt168, maxInt176, maxInt184, maxInt192, maxInt200, maxInt208, maxInt216, maxInt224, maxInt232, maxInt240, maxInt248, maxInt256, maxUint8, maxUint16, maxUint24, maxUint32, maxUint40, maxUint48, maxUint56, maxUint64, maxUint72, maxUint80, maxUint88, maxUint96, maxUint104, maxUint112, maxUint120, maxUint128, maxUint136, maxUint144, maxUint152, maxUint160, maxUint168, maxUint176, maxUint184, maxUint192, maxUint200, maxUint208, maxUint216, maxUint224, maxUint232, maxUint240, maxUint248, maxUint256, minInt8, minInt16, minInt24, minInt32, minInt40, minInt48, minInt56, minInt64, minInt72, minInt80, minInt88, minInt96, minInt104, minInt112, minInt120, minInt128, minInt136, minInt144, minInt152, minInt160, minInt168, minInt176, minInt184, minInt192, minInt200, minInt208, minInt216, minInt224, minInt232, minInt240, minInt248, minInt256, } from './constants/number.js';
21
+ export { zeroHash } from './constants/bytes.js';
22
+ export { presignMessagePrefix } from './constants/strings.js';
21
23
  export { AbiConstructorNotFoundError, AbiConstructorParamsNotFoundError, AbiDecodingDataSizeInvalidError, AbiDecodingDataSizeTooSmallError, AbiDecodingZeroDataError, AbiEncodingArrayLengthMismatchError, AbiEncodingLengthMismatchError, AbiEncodingBytesSizeMismatchError, AbiErrorInputsNotFoundError, AbiErrorNotFoundError, AbiErrorSignatureNotFoundError, AbiEventNotFoundError, AbiEventSignatureEmptyTopicsError, AbiEventSignatureNotFoundError, AbiFunctionNotFoundError, AbiFunctionOutputsNotFoundError, AbiFunctionSignatureNotFoundError, BytesSizeMismatchError, DecodeLogDataMismatch, DecodeLogTopicsMismatch, InvalidAbiDecodingTypeError, InvalidAbiEncodingTypeError, InvalidArrayError, InvalidDefinitionTypeError, UnsupportedPackedAbiType, } from './errors/abi.js';
22
24
  export { BaseError } from './errors/base.js';
23
25
  export { BlockNotFoundError, } from './errors/block.js';
@@ -25,7 +27,7 @@ export { CallExecutionError, ContractFunctionExecutionError, ContractFunctionRev
25
27
  export { BaseFeeScalarError, Eip1559FeesNotSupportedError, MaxFeePerGasTooLowError, } from './errors/fee.js';
26
28
  export { ChainDisconnectedError, InternalRpcError, InvalidInputRpcError, InvalidParamsRpcError, InvalidRequestRpcError, JsonRpcVersionUnsupportedError, LimitExceededRpcError, MethodNotFoundRpcError, MethodNotSupportedRpcError, ParseRpcError, ProviderDisconnectedError, ProviderRpcError, ResourceNotFoundRpcError, ResourceUnavailableRpcError, RpcError, SwitchChainError, TransactionRejectedRpcError, UnauthorizedProviderError, UnknownRpcError, UnsupportedProviderMethodError, UserRejectedRequestError, } from './errors/rpc.js';
27
29
  export { ChainDoesNotSupportContract, ChainMismatchError, ChainNotFoundError, ClientChainNotConfiguredError, InvalidChainIdError, } from './errors/chain.js';
28
- export { DataLengthTooLongError, DataLengthTooShortError, InvalidBytesBooleanError, IntegerOutOfRangeError, InvalidHexBooleanError, InvalidHexValueError, OffsetOutOfBoundsError, SizeOverflowError, } from './errors/encoding.js';
30
+ export { InvalidBytesBooleanError, IntegerOutOfRangeError, InvalidHexBooleanError, InvalidHexValueError, SizeOverflowError, } from './errors/encoding.js';
29
31
  export { EnsAvatarUriResolutionError, EnsAvatarInvalidNftUriError, EnsAvatarUnsupportedNamespaceError, } from './errors/ens.js';
30
32
  export { EstimateGasExecutionError, } from './errors/estimateGas.js';
31
33
  export { ExecutionRevertedError, FeeCapTooHighError, FeeCapTooLowError, InsufficientFundsError, IntrinsicGasTooHighError, IntrinsicGasTooLowError, NonceMaxValueError, NonceTooHighError, NonceTooLowError, TipAboveFeeCapError, TransactionTypeNotSupportedError, UnknownNodeError, } from './errors/node.js';
@@ -76,9 +78,7 @@ export { assertRequest, } from './utils/transaction/assertRequest.js';
76
78
  export { assertTransactionEIP1559, assertTransactionEIP2930, assertTransactionLegacy, } from './utils/transaction/assertTransaction.js';
77
79
  export { boolToBytes, hexToBytes, numberToBytes, stringToBytes, toBytes, } from './utils/encoding/toBytes.js';
78
80
  export { boolToHex, bytesToHex, numberToHex, stringToHex, toHex, } from './utils/encoding/toHex.js';
79
- export { bytesToBigInt,
80
- /** @deprecated - use `bytesToBigInt` */
81
- bytesToBigInt as bytesToBigint, bytesToBool, bytesToNumber, bytesToString, fromBytes, } from './utils/encoding/fromBytes.js';
81
+ export { bytesToBigInt, bytesToBool, bytesToNumber, bytesToString, fromBytes, } from './utils/encoding/fromBytes.js';
82
82
  export { ccipFetch, offchainLookup, offchainLookupAbiItem, offchainLookupSignature, } from './utils/ccip.js';
83
83
  export { concat, concatBytes, concatHex, } from './utils/data/concat.js';
84
84
  export { assertCurrentChain, } from './utils/chain/assertCurrentChain.js';
package/_esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAiBL,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,4BAA4B,EAC5B,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,2BAA2B,EAC3B,6BAA6B,EAC7B,gBAAgB,EAChB,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,SAAS,CAAA;AAEhB,OAAO,EACL,WAAW,GAIZ,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAGN,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAIN,MAAM,0BAA0B,CAAA;AAqXjC,OAAO,EAKL,YAAY,GACb,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAIL,MAAM,GACP,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAIL,QAAQ,GACT,MAAM,kCAAkC,CAAA;AACzC,OAAO,EAIL,IAAI,GACL,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAIL,kBAAkB,GACnB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAIL,gBAAgB,GACjB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAEL,aAAa,GACd,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAEL,WAAW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