viem 2.13.7 → 2.13.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (558) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
  3. package/_cjs/actions/public/call.js.map +1 -1
  4. package/_cjs/actions/public/estimateGas.js.map +1 -1
  5. package/_cjs/actions/public/getBlockNumber.js.map +1 -1
  6. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  7. package/_cjs/actions/wallet/signTypedData.js.map +1 -1
  8. package/_cjs/celo/formatters.js +1 -2
  9. package/_cjs/celo/formatters.js.map +1 -1
  10. package/_cjs/celo/index.js.map +1 -1
  11. package/_cjs/celo/utils.js.map +1 -1
  12. package/_cjs/chains/definitions/ham.js +27 -0
  13. package/_cjs/chains/definitions/ham.js.map +1 -0
  14. package/_cjs/chains/definitions/kakarotSepolia.js +1 -1
  15. package/_cjs/chains/definitions/kakarotSepolia.js.map +1 -1
  16. package/_cjs/chains/definitions/optimism.js +5 -0
  17. package/_cjs/chains/definitions/optimism.js.map +1 -1
  18. package/_cjs/chains/definitions/redbellyTestnet.js +27 -0
  19. package/_cjs/chains/definitions/redbellyTestnet.js.map +1 -0
  20. package/_cjs/chains/definitions/sei.js +1 -0
  21. package/_cjs/chains/definitions/sei.js.map +1 -1
  22. package/_cjs/chains/definitions/xai.js +28 -0
  23. package/_cjs/chains/definitions/xai.js.map +1 -0
  24. package/_cjs/chains/definitions/xaiTestnet.js +22 -0
  25. package/_cjs/chains/definitions/xaiTestnet.js.map +1 -0
  26. package/_cjs/chains/index.js +12 -4
  27. package/_cjs/chains/index.js.map +1 -1
  28. package/_cjs/clients/createClient.js +2 -2
  29. package/_cjs/clients/createClient.js.map +1 -1
  30. package/_cjs/clients/decorators/public.js.map +1 -1
  31. package/_cjs/clients/decorators/wallet.js.map +1 -1
  32. package/_cjs/clients/transports/fallback.js.map +1 -1
  33. package/_cjs/clients/transports/http.js.map +1 -1
  34. package/_cjs/constants/abis.js.map +1 -1
  35. package/_cjs/constants/blob.js +4 -4
  36. package/_cjs/constants/blob.js.map +1 -1
  37. package/_cjs/constants/kzg.js +1 -3
  38. package/_cjs/constants/kzg.js.map +1 -1
  39. package/_cjs/errors/abi.js +1 -13
  40. package/_cjs/errors/abi.js.map +1 -1
  41. package/_cjs/errors/base.js +1 -1
  42. package/_cjs/errors/base.js.map +1 -1
  43. package/_cjs/errors/ccip.js.map +1 -1
  44. package/_cjs/errors/stateOverride.js.map +1 -1
  45. package/_cjs/errors/version.js +1 -1
  46. package/_cjs/experimental/eip5792/actions/getCapabilities.js +2 -2
  47. package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +1 -1
  48. package/_cjs/experimental/eip5792/actions/sendCalls.js +2 -2
  49. package/_cjs/experimental/eip5792/actions/sendCalls.js.map +1 -1
  50. package/_cjs/index.js +6 -4
  51. package/_cjs/index.js.map +1 -1
  52. package/_cjs/node/trustedSetups.js +1 -2
  53. package/_cjs/node/trustedSetups.js.map +1 -1
  54. package/_cjs/op-stack/abis.js +1 -458
  55. package/_cjs/op-stack/abis.js.map +1 -1
  56. package/_cjs/op-stack/actions/buildProveWithdrawal.js.map +1 -1
  57. package/_cjs/op-stack/actions/estimateDepositTransactionGas.js +4 -3
  58. package/_cjs/op-stack/actions/estimateDepositTransactionGas.js.map +1 -1
  59. package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js +4 -3
  60. package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js.map +1 -1
  61. package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js +4 -3
  62. package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js.map +1 -1
  63. package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js +4 -3
  64. package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js.map +1 -1
  65. package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  66. package/_cjs/op-stack/index.js +15 -2
  67. package/_cjs/op-stack/index.js.map +1 -1
  68. package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
  69. package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
  70. package/_cjs/utils/abi/encodeDeployData.js.map +1 -1
  71. package/_cjs/utils/abi/getAbiItem.js.map +1 -1
  72. package/_cjs/utils/address/getAddress.js +5 -5
  73. package/_cjs/utils/address/getAddress.js.map +1 -1
  74. package/_cjs/utils/address/isAddress.js.map +1 -1
  75. package/_cjs/utils/blob/toBlobs.js.map +1 -1
  76. package/_cjs/utils/buildRequest.js.map +1 -1
  77. package/_cjs/utils/ccip.js.map +1 -1
  78. package/_cjs/utils/cursor.js.map +1 -1
  79. package/_cjs/utils/encoding/fromRlp.js +1 -9
  80. package/_cjs/utils/encoding/fromRlp.js.map +1 -1
  81. package/_cjs/utils/ens/avatar/utils.js.map +1 -1
  82. package/_cjs/utils/ens/errors.js.map +1 -1
  83. package/_cjs/utils/observe.js.map +1 -1
  84. package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
  85. package/_cjs/utils/promise/withCache.js.map +1 -1
  86. package/_cjs/utils/promise/withTimeout.js.map +1 -1
  87. package/_cjs/utils/rpc/id.js +1 -2
  88. package/_cjs/utils/rpc/id.js.map +1 -1
  89. package/_cjs/utils/rpc/ipc.js.map +1 -1
  90. package/_cjs/utils/stateOverride.js.map +1 -1
  91. package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
  92. package/_cjs/utils/transaction/serializeTransaction.js +8 -5
  93. package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
  94. package/_cjs/zksync/actions/deployContract.js.map +1 -1
  95. package/_cjs/zksync/actions/estimateGasL1ToL2.js +2 -2
  96. package/_cjs/zksync/actions/estimateGasL1ToL2.js.map +1 -1
  97. package/_cjs/zksync/actions/getAllBalances.js +2 -2
  98. package/_cjs/zksync/actions/getAllBalances.js.map +1 -1
  99. package/_cjs/zksync/actions/getL1Allowance.js +2 -2
  100. package/_cjs/zksync/actions/getL1Allowance.js.map +1 -1
  101. package/_cjs/zksync/actions/getL1Balance.js +2 -2
  102. package/_cjs/zksync/actions/getL1Balance.js.map +1 -1
  103. package/_cjs/zksync/actions/getL1TokenBalance.js +2 -2
  104. package/_cjs/zksync/actions/getL1TokenBalance.js.map +1 -1
  105. package/_cjs/zksync/actions/sendEip712Transaction.js +7 -7
  106. package/_cjs/zksync/actions/sendEip712Transaction.js.map +1 -1
  107. package/_cjs/zksync/actions/sendTransaction.js +4 -4
  108. package/_cjs/zksync/actions/sendTransaction.js.map +1 -1
  109. package/_cjs/zksync/constants/contract.js +1 -2
  110. package/_cjs/zksync/constants/contract.js.map +1 -1
  111. package/_cjs/zksync/decorators/eip712.js.map +1 -1
  112. package/_cjs/zksync/index.js.map +1 -1
  113. package/_cjs/zksync/serializers.js.map +1 -1
  114. package/_cjs/zksync/utils/abi/encodeDeployData.js.map +1 -1
  115. package/_cjs/zksync/utils/assertEip712Request.js.map +1 -1
  116. package/_cjs/zksync/utils/hashBytecode.js.map +1 -1
  117. package/_esm/accounts/hdKeyToAccount.js.map +1 -1
  118. package/_esm/actions/public/call.js +1 -0
  119. package/_esm/actions/public/call.js.map +1 -1
  120. package/_esm/actions/public/estimateGas.js.map +1 -1
  121. package/_esm/actions/public/getBlockNumber.js +2 -1
  122. package/_esm/actions/public/getBlockNumber.js.map +1 -1
  123. package/_esm/actions/test/sendUnsignedTransaction.js +2 -2
  124. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  125. package/_esm/actions/wallet/signTypedData.js.map +1 -1
  126. package/_esm/celo/formatters.js +1 -2
  127. package/_esm/celo/formatters.js.map +1 -1
  128. package/_esm/celo/index.js +1 -1
  129. package/_esm/celo/index.js.map +1 -1
  130. package/_esm/celo/utils.js +1 -0
  131. package/_esm/celo/utils.js.map +1 -1
  132. package/_esm/chains/definitions/ham.js +24 -0
  133. package/_esm/chains/definitions/ham.js.map +1 -0
  134. package/_esm/chains/definitions/kakarotSepolia.js +1 -1
  135. package/_esm/chains/definitions/kakarotSepolia.js.map +1 -1
  136. package/_esm/chains/definitions/optimism.js +5 -0
  137. package/_esm/chains/definitions/optimism.js.map +1 -1
  138. package/_esm/chains/definitions/redbellyTestnet.js +24 -0
  139. package/_esm/chains/definitions/redbellyTestnet.js.map +1 -0
  140. package/_esm/chains/definitions/sei.js +1 -0
  141. package/_esm/chains/definitions/sei.js.map +1 -1
  142. package/_esm/chains/definitions/xai.js +25 -0
  143. package/_esm/chains/definitions/xai.js.map +1 -0
  144. package/_esm/chains/definitions/xaiTestnet.js +19 -0
  145. package/_esm/chains/definitions/xaiTestnet.js.map +1 -0
  146. package/_esm/chains/index.js +4 -0
  147. package/_esm/chains/index.js.map +1 -1
  148. package/_esm/clients/createClient.js +1 -1
  149. package/_esm/clients/createClient.js.map +1 -1
  150. package/_esm/clients/decorators/public.js.map +1 -1
  151. package/_esm/clients/decorators/wallet.js.map +1 -1
  152. package/_esm/clients/transports/fallback.js +1 -0
  153. package/_esm/clients/transports/fallback.js.map +1 -1
  154. package/_esm/clients/transports/http.js.map +1 -1
  155. package/_esm/constants/abis.js +1 -0
  156. package/_esm/constants/abis.js.map +1 -1
  157. package/_esm/constants/blob.js +1 -1
  158. package/_esm/constants/blob.js.map +1 -1
  159. package/_esm/constants/kzg.js +0 -4
  160. package/_esm/constants/kzg.js.map +1 -1
  161. package/_esm/errors/abi.js +0 -11
  162. package/_esm/errors/abi.js.map +1 -1
  163. package/_esm/errors/base.js +1 -1
  164. package/_esm/errors/base.js.map +1 -1
  165. package/_esm/errors/ccip.js.map +1 -1
  166. package/_esm/errors/stateOverride.js +1 -0
  167. package/_esm/errors/stateOverride.js.map +1 -1
  168. package/_esm/errors/version.js +1 -1
  169. package/_esm/experimental/eip5792/actions/getCapabilities.js +1 -1
  170. package/_esm/experimental/eip5792/actions/getCapabilities.js.map +1 -1
  171. package/_esm/experimental/eip5792/actions/sendCalls.js +1 -1
  172. package/_esm/experimental/eip5792/actions/sendCalls.js.map +1 -1
  173. package/_esm/index.js +4 -3
  174. package/_esm/index.js.map +1 -1
  175. package/_esm/node/trustedSetups.js +0 -1
  176. package/_esm/node/trustedSetups.js.map +1 -1
  177. package/_esm/node/trustedSetups_cjs.js +0 -1
  178. package/_esm/node/trustedSetups_cjs.js.map +1 -1
  179. package/_esm/op-stack/abis.js +0 -457
  180. package/_esm/op-stack/abis.js.map +1 -1
  181. package/_esm/op-stack/actions/buildProveWithdrawal.js +1 -0
  182. package/_esm/op-stack/actions/buildProveWithdrawal.js.map +1 -1
  183. package/_esm/op-stack/actions/estimateDepositTransactionGas.js +7 -3
  184. package/_esm/op-stack/actions/estimateDepositTransactionGas.js.map +1 -1
  185. package/_esm/op-stack/actions/estimateFinalizeWithdrawalGas.js +7 -3
  186. package/_esm/op-stack/actions/estimateFinalizeWithdrawalGas.js.map +1 -1
  187. package/_esm/op-stack/actions/estimateInitiateWithdrawalGas.js +7 -3
  188. package/_esm/op-stack/actions/estimateInitiateWithdrawalGas.js.map +1 -1
  189. package/_esm/op-stack/actions/estimateProveWithdrawalGas.js +7 -3
  190. package/_esm/op-stack/actions/estimateProveWithdrawalGas.js.map +1 -1
  191. package/_esm/op-stack/actions/getWithdrawalStatus.js +1 -1
  192. package/_esm/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  193. package/_esm/op-stack/index.js +0 -1
  194. package/_esm/op-stack/index.js.map +1 -1
  195. package/_esm/utils/abi/decodeAbiParameters.js +1 -1
  196. package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
  197. package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
  198. package/_esm/utils/abi/encodeDeployData.js.map +1 -1
  199. package/_esm/utils/abi/getAbiItem.js +3 -1
  200. package/_esm/utils/abi/getAbiItem.js.map +1 -1
  201. package/_esm/utils/address/getAddress.js +1 -1
  202. package/_esm/utils/address/getAddress.js.map +1 -1
  203. package/_esm/utils/address/isAddress.js +1 -0
  204. package/_esm/utils/address/isAddress.js.map +1 -1
  205. package/_esm/utils/blob/toBlobs.js.map +1 -1
  206. package/_esm/utils/buildRequest.js +1 -0
  207. package/_esm/utils/buildRequest.js.map +1 -1
  208. package/_esm/utils/ccip.js +1 -1
  209. package/_esm/utils/ccip.js.map +1 -1
  210. package/_esm/utils/cursor.js.map +1 -1
  211. package/_esm/utils/encoding/fromRlp.js +0 -6
  212. package/_esm/utils/encoding/fromRlp.js.map +1 -1
  213. package/_esm/utils/ens/avatar/utils.js +2 -0
  214. package/_esm/utils/ens/avatar/utils.js.map +1 -1
  215. package/_esm/utils/ens/errors.js.map +1 -1
  216. package/_esm/utils/observe.js +2 -0
  217. package/_esm/utils/observe.js.map +1 -1
  218. package/_esm/utils/promise/createBatchScheduler.js +1 -0
  219. package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
  220. package/_esm/utils/promise/withCache.js +2 -0
  221. package/_esm/utils/promise/withCache.js.map +1 -1
  222. package/_esm/utils/promise/withTimeout.js +1 -1
  223. package/_esm/utils/promise/withTimeout.js.map +1 -1
  224. package/_esm/utils/rpc/id.js +1 -1
  225. package/_esm/utils/rpc/id.js.map +1 -1
  226. package/_esm/utils/rpc/ipc.js +1 -0
  227. package/_esm/utils/rpc/ipc.js.map +1 -1
  228. package/_esm/utils/stateOverride.js +3 -0
  229. package/_esm/utils/stateOverride.js.map +1 -1
  230. package/_esm/utils/transaction/parseTransaction.js.map +1 -1
  231. package/_esm/utils/transaction/serializeTransaction.js +8 -5
  232. package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
  233. package/_esm/utils/unit/parseUnits.js +1 -1
  234. package/_esm/utils/unit/parseUnits.js.map +1 -1
  235. package/_esm/zksync/actions/deployContract.js +1 -1
  236. package/_esm/zksync/actions/deployContract.js.map +1 -1
  237. package/_esm/zksync/actions/estimateGasL1ToL2.js +1 -1
  238. package/_esm/zksync/actions/estimateGasL1ToL2.js.map +1 -1
  239. package/_esm/zksync/actions/getAllBalances.js +1 -1
  240. package/_esm/zksync/actions/getAllBalances.js.map +1 -1
  241. package/_esm/zksync/actions/getL1Allowance.js +1 -1
  242. package/_esm/zksync/actions/getL1Allowance.js.map +1 -1
  243. package/_esm/zksync/actions/getL1Balance.js +1 -1
  244. package/_esm/zksync/actions/getL1Balance.js.map +1 -1
  245. package/_esm/zksync/actions/getL1TokenBalance.js +2 -2
  246. package/_esm/zksync/actions/getL1TokenBalance.js.map +1 -1
  247. package/_esm/zksync/actions/sendEip712Transaction.js +7 -7
  248. package/_esm/zksync/actions/sendEip712Transaction.js.map +1 -1
  249. package/_esm/zksync/actions/sendTransaction.js +6 -6
  250. package/_esm/zksync/actions/sendTransaction.js.map +1 -1
  251. package/_esm/zksync/constants/contract.js +0 -1
  252. package/_esm/zksync/constants/contract.js.map +1 -1
  253. package/_esm/zksync/decorators/eip712.js.map +1 -1
  254. package/_esm/zksync/index.js.map +1 -1
  255. package/_esm/zksync/serializers.js.map +1 -1
  256. package/_esm/zksync/utils/abi/encodeDeployData.js +1 -1
  257. package/_esm/zksync/utils/abi/encodeDeployData.js.map +1 -1
  258. package/_esm/zksync/utils/assertEip712Request.js +1 -1
  259. package/_esm/zksync/utils/assertEip712Request.js.map +1 -1
  260. package/_esm/zksync/utils/hashBytecode.js.map +1 -1
  261. package/_types/accounts/hdKeyToAccount.d.ts +1 -1
  262. package/_types/accounts/hdKeyToAccount.d.ts.map +1 -1
  263. package/_types/accounts/types.d.ts +1 -1
  264. package/_types/accounts/types.d.ts.map +1 -1
  265. package/_types/actions/public/call.d.ts +5 -2
  266. package/_types/actions/public/call.d.ts.map +1 -1
  267. package/_types/actions/public/estimateGas.d.ts +2 -1
  268. package/_types/actions/public/estimateGas.d.ts.map +1 -1
  269. package/_types/actions/public/getBlockNumber.d.ts +4 -0
  270. package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
  271. package/_types/actions/test/sendUnsignedTransaction.d.ts +2 -2
  272. package/_types/actions/wallet/prepareTransactionRequest.d.ts +0 -7
  273. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  274. package/_types/actions/wallet/signTypedData.d.ts +2 -2
  275. package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
  276. package/_types/celo/chainConfig.d.ts +60 -60
  277. package/_types/celo/formatters.d.ts +30 -30
  278. package/_types/celo/formatters.d.ts.map +1 -1
  279. package/_types/celo/index.d.ts +2 -2
  280. package/_types/celo/index.d.ts.map +1 -1
  281. package/_types/celo/utils.d.ts +1 -0
  282. package/_types/celo/utils.d.ts.map +1 -1
  283. package/_types/chains/definitions/ancient8.d.ts +26 -26
  284. package/_types/chains/definitions/ancient8Sepolia.d.ts +26 -26
  285. package/_types/chains/definitions/base.d.ts +26 -26
  286. package/_types/chains/definitions/baseGoerli.d.ts +26 -26
  287. package/_types/chains/definitions/baseSepolia.d.ts +26 -26
  288. package/_types/chains/definitions/celo.d.ts +60 -60
  289. package/_types/chains/definitions/celoAlfajores.d.ts +60 -60
  290. package/_types/chains/definitions/fraxtal.d.ts +26 -26
  291. package/_types/chains/definitions/fraxtalTestnet.d.ts +26 -26
  292. package/_types/chains/definitions/funkiSepolia.d.ts +26 -26
  293. package/_types/chains/definitions/ham.d.ts +37 -0
  294. package/_types/chains/definitions/ham.d.ts.map +1 -0
  295. package/_types/chains/definitions/kakarotSepolia.d.ts +1 -1
  296. package/_types/chains/definitions/liskSepolia.d.ts +26 -26
  297. package/_types/chains/definitions/metalL2.d.ts +26 -26
  298. package/_types/chains/definitions/optimism.d.ts +31 -26
  299. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  300. package/_types/chains/definitions/optimismGoerli.d.ts +26 -26
  301. package/_types/chains/definitions/optimismSepolia.d.ts +26 -26
  302. package/_types/chains/definitions/pgn.d.ts +26 -26
  303. package/_types/chains/definitions/pgnTestnet.d.ts +26 -26
  304. package/_types/chains/definitions/redbellyTestnet.d.ts +36 -0
  305. package/_types/chains/definitions/redbellyTestnet.d.ts.map +1 -0
  306. package/_types/chains/definitions/rss3.d.ts +26 -26
  307. package/_types/chains/definitions/rss3Sepolia.d.ts +26 -26
  308. package/_types/chains/definitions/sei.d.ts +1 -0
  309. package/_types/chains/definitions/sei.d.ts.map +1 -1
  310. package/_types/chains/definitions/xai.d.ts +33 -0
  311. package/_types/chains/definitions/xai.d.ts.map +1 -0
  312. package/_types/chains/definitions/xaiTestnet.d.ts +35 -0
  313. package/_types/chains/definitions/xaiTestnet.d.ts.map +1 -0
  314. package/_types/chains/definitions/zora.d.ts +26 -26
  315. package/_types/chains/definitions/zoraSepolia.d.ts +26 -26
  316. package/_types/chains/definitions/zoraTestnet.d.ts +26 -26
  317. package/_types/chains/index.d.ts +4 -0
  318. package/_types/chains/index.d.ts.map +1 -1
  319. package/_types/clients/createClient.d.ts +1 -1
  320. package/_types/clients/createClient.d.ts.map +1 -1
  321. package/_types/clients/transports/fallback.d.ts +1 -0
  322. package/_types/clients/transports/fallback.d.ts.map +1 -1
  323. package/_types/clients/transports/http.d.ts +6 -7
  324. package/_types/clients/transports/http.d.ts.map +1 -1
  325. package/_types/constants/abis.d.ts +1 -0
  326. package/_types/constants/abis.d.ts.map +1 -1
  327. package/_types/constants/blob.d.ts +0 -2
  328. package/_types/constants/blob.d.ts.map +1 -1
  329. package/_types/constants/kzg.d.ts +0 -4
  330. package/_types/constants/kzg.d.ts.map +1 -1
  331. package/_types/errors/abi.d.ts +0 -10
  332. package/_types/errors/abi.d.ts.map +1 -1
  333. package/_types/errors/base.d.ts +1 -0
  334. package/_types/errors/base.d.ts.map +1 -1
  335. package/_types/errors/ccip.d.ts +1 -0
  336. package/_types/errors/ccip.d.ts.map +1 -1
  337. package/_types/errors/stateOverride.d.ts +1 -0
  338. package/_types/errors/stateOverride.d.ts.map +1 -1
  339. package/_types/errors/version.d.ts +1 -1
  340. package/_types/experimental/eip5792/actions/getCapabilities.d.ts.map +1 -1
  341. package/_types/experimental/eip5792/actions/sendCalls.d.ts.map +1 -1
  342. package/_types/experimental/erc7715/types/permission.d.ts +5 -0
  343. package/_types/experimental/erc7715/types/permission.d.ts.map +1 -1
  344. package/_types/experimental/erc7715/types/signer.d.ts +3 -0
  345. package/_types/experimental/erc7715/types/signer.d.ts.map +1 -1
  346. package/_types/index.d.ts +9 -9
  347. package/_types/index.d.ts.map +1 -1
  348. package/_types/node/trustedSetups.d.ts +0 -1
  349. package/_types/node/trustedSetups.d.ts.map +1 -1
  350. package/_types/node/trustedSetups_cjs.d.ts +0 -1
  351. package/_types/node/trustedSetups_cjs.d.ts.map +1 -1
  352. package/_types/op-stack/abis.d.ts +0 -626
  353. package/_types/op-stack/abis.d.ts.map +1 -1
  354. package/_types/op-stack/actions/buildProveWithdrawal.d.ts +1 -0
  355. package/_types/op-stack/actions/buildProveWithdrawal.d.ts.map +1 -1
  356. package/_types/op-stack/actions/estimateDepositTransactionGas.d.ts +2 -2
  357. package/_types/op-stack/actions/estimateDepositTransactionGas.d.ts.map +1 -1
  358. package/_types/op-stack/actions/estimateFinalizeWithdrawalGas.d.ts +1 -1
  359. package/_types/op-stack/actions/estimateFinalizeWithdrawalGas.d.ts.map +1 -1
  360. package/_types/op-stack/actions/estimateInitiateWithdrawalGas.d.ts +1 -1
  361. package/_types/op-stack/actions/estimateInitiateWithdrawalGas.d.ts.map +1 -1
  362. package/_types/op-stack/actions/estimateProveWithdrawalGas.d.ts +1 -1
  363. package/_types/op-stack/actions/estimateProveWithdrawalGas.d.ts.map +1 -1
  364. package/_types/op-stack/actions/getWithdrawalStatus.d.ts +2 -1
  365. package/_types/op-stack/actions/getWithdrawalStatus.d.ts.map +1 -1
  366. package/_types/op-stack/chainConfig.d.ts +26 -26
  367. package/_types/op-stack/formatters.d.ts +26 -26
  368. package/_types/op-stack/index.d.ts.map +1 -1
  369. package/_types/types/account.d.ts +1 -1
  370. package/_types/types/account.d.ts.map +1 -1
  371. package/_types/types/chain.d.ts +7 -7
  372. package/_types/types/chain.d.ts.map +1 -1
  373. package/_types/types/kzg.d.ts +1 -1
  374. package/_types/types/kzg.d.ts.map +1 -1
  375. package/_types/types/proof.d.ts +3 -2
  376. package/_types/types/proof.d.ts.map +1 -1
  377. package/_types/types/utils.d.ts +11 -3
  378. package/_types/types/utils.d.ts.map +1 -1
  379. package/_types/utils/abi/decodeAbiParameters.d.ts +2 -1
  380. package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
  381. package/_types/utils/abi/encodeAbiParameters.d.ts +12 -11
  382. package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
  383. package/_types/utils/abi/encodeDeployData.d.ts +4 -2
  384. package/_types/utils/abi/encodeDeployData.d.ts.map +1 -1
  385. package/_types/utils/abi/getAbiItem.d.ts +6 -2
  386. package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
  387. package/_types/utils/address/getAddress.d.ts +0 -2
  388. package/_types/utils/address/getAddress.d.ts.map +1 -1
  389. package/_types/utils/address/isAddress.d.ts +1 -0
  390. package/_types/utils/address/isAddress.d.ts.map +1 -1
  391. package/_types/utils/blob/toBlobs.d.ts +2 -1
  392. package/_types/utils/blob/toBlobs.d.ts.map +1 -1
  393. package/_types/utils/buildRequest.d.ts +1 -0
  394. package/_types/utils/buildRequest.d.ts.map +1 -1
  395. package/_types/utils/ccip.d.ts +4 -2
  396. package/_types/utils/ccip.d.ts.map +1 -1
  397. package/_types/utils/cursor.d.ts +7 -6
  398. package/_types/utils/cursor.d.ts.map +1 -1
  399. package/_types/utils/encoding/fromRlp.d.ts +3 -7
  400. package/_types/utils/encoding/fromRlp.d.ts.map +1 -1
  401. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +2 -1
  402. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
  403. package/_types/utils/ens/avatar/utils.d.ts +4 -2
  404. package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
  405. package/_types/utils/ens/errors.d.ts +1 -0
  406. package/_types/utils/ens/errors.d.ts.map +1 -1
  407. package/_types/utils/formatters/transaction.d.ts +1 -1
  408. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  409. package/_types/utils/hash/normalizeSignature.d.ts +3 -2
  410. package/_types/utils/hash/normalizeSignature.d.ts.map +1 -1
  411. package/_types/utils/observe.d.ts +2 -0
  412. package/_types/utils/observe.d.ts.map +1 -1
  413. package/_types/utils/promise/createBatchScheduler.d.ts +3 -2
  414. package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
  415. package/_types/utils/promise/withCache.d.ts +4 -1
  416. package/_types/utils/promise/withCache.d.ts.map +1 -1
  417. package/_types/utils/rpc/id.d.ts +0 -5
  418. package/_types/utils/rpc/id.d.ts.map +1 -1
  419. package/_types/utils/rpc/ipc.d.ts +1 -0
  420. package/_types/utils/rpc/ipc.d.ts.map +1 -1
  421. package/_types/utils/stateOverride.d.ts +9 -5
  422. package/_types/utils/stateOverride.d.ts.map +1 -1
  423. package/_types/utils/transaction/parseTransaction.d.ts +5 -5
  424. package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
  425. package/_types/utils/transaction/serializeTransaction.d.ts +1 -1
  426. package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
  427. package/_types/zksync/actions/deployContract.d.ts +2 -1
  428. package/_types/zksync/actions/deployContract.d.ts.map +1 -1
  429. package/_types/zksync/actions/estimateGasL1ToL2.d.ts.map +1 -1
  430. package/_types/zksync/actions/getAllBalances.d.ts.map +1 -1
  431. package/_types/zksync/actions/getL1Allowance.d.ts.map +1 -1
  432. package/_types/zksync/actions/getL1Balance.d.ts.map +1 -1
  433. package/_types/zksync/actions/getL1TokenBalance.d.ts +4 -4
  434. package/_types/zksync/actions/getL1TokenBalance.d.ts.map +1 -1
  435. package/_types/zksync/actions/sendEip712Transaction.d.ts +3 -3
  436. package/_types/zksync/actions/sendEip712Transaction.d.ts.map +1 -1
  437. package/_types/zksync/actions/sendTransaction.d.ts +5 -5
  438. package/_types/zksync/actions/sendTransaction.d.ts.map +1 -1
  439. package/_types/zksync/constants/contract.d.ts +0 -1
  440. package/_types/zksync/constants/contract.d.ts.map +1 -1
  441. package/_types/zksync/decorators/eip712.d.ts +2 -1
  442. package/_types/zksync/decorators/eip712.d.ts.map +1 -1
  443. package/_types/zksync/index.d.ts +1 -0
  444. package/_types/zksync/index.d.ts.map +1 -1
  445. package/_types/zksync/serializers.d.ts +1 -2
  446. package/_types/zksync/serializers.d.ts.map +1 -1
  447. package/_types/zksync/types/chain.d.ts +2 -2
  448. package/_types/zksync/types/chain.d.ts.map +1 -1
  449. package/_types/zksync/types/eip1193.d.ts +5 -5
  450. package/_types/zksync/types/eip1193.d.ts.map +1 -1
  451. package/_types/zksync/utils/abi/encodeDeployData.d.ts +5 -0
  452. package/_types/zksync/utils/abi/encodeDeployData.d.ts.map +1 -1
  453. package/_types/zksync/utils/assertEip712Request.d.ts +3 -1
  454. package/_types/zksync/utils/assertEip712Request.d.ts.map +1 -1
  455. package/_types/zksync/utils/hashBytecode.d.ts +5 -0
  456. package/_types/zksync/utils/hashBytecode.d.ts.map +1 -1
  457. package/accounts/hdKeyToAccount.ts +1 -2
  458. package/accounts/types.ts +1 -1
  459. package/actions/public/call.ts +5 -5
  460. package/actions/public/estimateGas.ts +3 -4
  461. package/actions/public/getBlockNumber.ts +9 -1
  462. package/actions/test/sendUnsignedTransaction.ts +2 -2
  463. package/actions/wallet/prepareTransactionRequest.ts +0 -20
  464. package/actions/wallet/signTypedData.ts +2 -0
  465. package/celo/formatters.ts +1 -3
  466. package/celo/index.ts +5 -2
  467. package/celo/utils.ts +1 -0
  468. package/chains/definitions/ham.ts +24 -0
  469. package/chains/definitions/kakarotSepolia.ts +1 -1
  470. package/chains/definitions/optimism.ts +5 -0
  471. package/chains/definitions/redbellyTestnet.ts +24 -0
  472. package/chains/definitions/sei.ts +1 -0
  473. package/chains/definitions/xai.ts +25 -0
  474. package/chains/definitions/xaiTestnet.ts +19 -0
  475. package/chains/index.ts +4 -0
  476. package/clients/createClient.ts +4 -2
  477. package/clients/decorators/public.ts +1 -1
  478. package/clients/decorators/wallet.ts +1 -1
  479. package/clients/transports/fallback.ts +1 -0
  480. package/clients/transports/http.ts +9 -8
  481. package/constants/abis.ts +1 -0
  482. package/constants/blob.ts +1 -1
  483. package/constants/kzg.ts +0 -6
  484. package/errors/abi.ts +0 -13
  485. package/errors/base.ts +2 -1
  486. package/errors/ccip.ts +1 -0
  487. package/errors/stateOverride.ts +1 -0
  488. package/errors/version.ts +1 -1
  489. package/experimental/eip5792/actions/getCapabilities.ts +1 -1
  490. package/experimental/eip5792/actions/sendCalls.ts +1 -1
  491. package/experimental/erc7715/types/permission.ts +5 -0
  492. package/experimental/erc7715/types/signer.ts +3 -0
  493. package/index.ts +21 -5
  494. package/node/trustedSetups.ts +0 -5
  495. package/node/trustedSetups_cjs.ts +0 -5
  496. package/op-stack/abis.ts +0 -458
  497. package/op-stack/actions/buildProveWithdrawal.ts +1 -0
  498. package/op-stack/actions/estimateDepositTransactionGas.ts +18 -7
  499. package/op-stack/actions/estimateFinalizeWithdrawalGas.ts +11 -4
  500. package/op-stack/actions/estimateInitiateWithdrawalGas.ts +11 -4
  501. package/op-stack/actions/estimateProveWithdrawalGas.ts +11 -4
  502. package/op-stack/actions/getWithdrawalStatus.ts +6 -1
  503. package/op-stack/index.ts +0 -1
  504. package/package.json +1 -1
  505. package/types/account.ts +1 -11
  506. package/types/chain.ts +7 -7
  507. package/types/kzg.ts +2 -1
  508. package/types/proof.ts +2 -2
  509. package/types/utils.ts +11 -3
  510. package/utils/abi/decodeAbiParameters.ts +6 -1
  511. package/utils/abi/encodeAbiParameters.ts +22 -19
  512. package/utils/abi/encodeDeployData.ts +6 -5
  513. package/utils/abi/getAbiItem.ts +8 -2
  514. package/utils/address/getAddress.ts +1 -1
  515. package/utils/address/isAddress.ts +1 -0
  516. package/utils/blob/toBlobs.ts +2 -1
  517. package/utils/buildRequest.ts +1 -0
  518. package/utils/ccip.ts +11 -3
  519. package/utils/cursor.ts +16 -6
  520. package/utils/encoding/fromRlp.ts +3 -21
  521. package/utils/ens/avatar/parseAvatarRecord.ts +1 -1
  522. package/utils/ens/avatar/utils.ts +4 -2
  523. package/utils/ens/errors.ts +1 -0
  524. package/utils/hash/normalizeSignature.ts +2 -2
  525. package/utils/observe.ts +2 -0
  526. package/utils/promise/createBatchScheduler.ts +3 -2
  527. package/utils/promise/withCache.ts +3 -1
  528. package/utils/promise/withTimeout.ts +2 -2
  529. package/utils/rpc/id.ts +1 -1
  530. package/utils/rpc/ipc.ts +1 -0
  531. package/utils/stateOverride.ts +8 -5
  532. package/utils/transaction/parseTransaction.ts +7 -2
  533. package/utils/transaction/serializeTransaction.ts +11 -5
  534. package/utils/unit/parseUnits.ts +1 -1
  535. package/zksync/actions/deployContract.ts +8 -2
  536. package/zksync/actions/estimateGasL1ToL2.ts +1 -1
  537. package/zksync/actions/getAllBalances.ts +1 -1
  538. package/zksync/actions/getL1Allowance.ts +1 -1
  539. package/zksync/actions/getL1Balance.ts +1 -1
  540. package/zksync/actions/getL1TokenBalance.ts +10 -7
  541. package/zksync/actions/sendEip712Transaction.ts +27 -16
  542. package/zksync/actions/sendTransaction.ts +34 -18
  543. package/zksync/constants/contract.ts +0 -1
  544. package/zksync/decorators/eip712.ts +7 -2
  545. package/zksync/index.ts +5 -0
  546. package/zksync/serializers.ts +1 -2
  547. package/zksync/types/chain.ts +9 -9
  548. package/zksync/types/eip1193.ts +32 -26
  549. package/zksync/utils/abi/encodeDeployData.ts +12 -2
  550. package/zksync/utils/assertEip712Request.ts +9 -2
  551. package/zksync/utils/hashBytecode.ts +14 -2
  552. package/_cjs/utils/accounts.js +0 -8
  553. package/_cjs/utils/accounts.js.map +0 -1
  554. package/_esm/utils/accounts.js +0 -7
  555. package/_esm/utils/accounts.js.map +0 -1
  556. package/_types/utils/accounts.d.ts +0 -3
  557. package/_types/utils/accounts.d.ts.map +0 -1
  558. package/utils/accounts.ts +0 -7
@@ -99,6 +99,7 @@ export declare const optimismGoerli: {
99
99
  readonly transaction: {
100
100
  exclude: [] | undefined;
101
101
  format: (args: ({
102
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
102
103
  r?: `0x${string}`;
103
104
  s?: `0x${string}`;
104
105
  v?: `0x${string}`;
@@ -107,7 +108,6 @@ export declare const optimismGoerli: {
107
108
  maxFeePerBlobGas?: `0x${string}` | undefined;
108
109
  maxFeePerGas?: `0x${string}` | undefined;
109
110
  maxPriorityFeePerGas?: `0x${string}` | undefined;
110
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
111
111
  to?: `0x${string}` | null;
112
112
  from?: `0x${string}`;
113
113
  gas?: `0x${string}`;
@@ -122,6 +122,7 @@ export declare const optimismGoerli: {
122
122
  transactionIndex?: `0x${string}` | null;
123
123
  chainId?: `0x${string}` | undefined;
124
124
  } & {
125
+ type: "0x0";
125
126
  r: `0x${string}`;
126
127
  s: `0x${string}`;
127
128
  v: `0x${string}`;
@@ -130,7 +131,6 @@ export declare const optimismGoerli: {
130
131
  maxFeePerBlobGas?: undefined;
131
132
  maxFeePerGas?: undefined;
132
133
  maxPriorityFeePerGas?: undefined;
133
- type: "0x0";
134
134
  to: `0x${string}` | null;
135
135
  from: `0x${string}`;
136
136
  gas: `0x${string}`;
@@ -149,6 +149,7 @@ export declare const optimismGoerli: {
149
149
  mint?: undefined;
150
150
  sourceHash?: undefined;
151
151
  }) | ({
152
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
152
153
  r?: `0x${string}`;
153
154
  s?: `0x${string}`;
154
155
  v?: `0x${string}`;
@@ -157,7 +158,6 @@ export declare const optimismGoerli: {
157
158
  maxFeePerBlobGas?: `0x${string}` | undefined;
158
159
  maxFeePerGas?: `0x${string}` | undefined;
159
160
  maxPriorityFeePerGas?: `0x${string}` | undefined;
160
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
161
161
  to?: `0x${string}` | null;
162
162
  from?: `0x${string}`;
163
163
  gas?: `0x${string}`;
@@ -177,6 +177,7 @@ export declare const optimismGoerli: {
177
177
  sourceHash: `0x${string}`;
178
178
  type: "0x7e";
179
179
  }) | ({
180
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
180
181
  r?: `0x${string}`;
181
182
  s?: `0x${string}`;
182
183
  v?: `0x${string}`;
@@ -184,7 +185,6 @@ export declare const optimismGoerli: {
184
185
  maxFeePerBlobGas?: `0x${string}` | undefined;
185
186
  maxFeePerGas?: `0x${string}` | undefined;
186
187
  maxPriorityFeePerGas?: `0x${string}` | undefined;
187
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
188
188
  to?: `0x${string}` | null;
189
189
  from?: `0x${string}`;
190
190
  gas?: `0x${string}`;
@@ -200,6 +200,7 @@ export declare const optimismGoerli: {
200
200
  chainId?: `0x${string}` | undefined;
201
201
  yParity?: `0x${string}` | undefined;
202
202
  } & {
203
+ type: "0x0";
203
204
  r: `0x${string}`;
204
205
  s: `0x${string}`;
205
206
  v: `0x${string}`;
@@ -208,7 +209,6 @@ export declare const optimismGoerli: {
208
209
  maxFeePerBlobGas?: undefined;
209
210
  maxFeePerGas?: undefined;
210
211
  maxPriorityFeePerGas?: undefined;
211
- type: "0x0";
212
212
  to: `0x${string}` | null;
213
213
  from: `0x${string}`;
214
214
  gas: `0x${string}`;
@@ -227,6 +227,7 @@ export declare const optimismGoerli: {
227
227
  mint?: undefined;
228
228
  sourceHash?: undefined;
229
229
  }) | ({
230
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
230
231
  r?: `0x${string}`;
231
232
  s?: `0x${string}`;
232
233
  v?: `0x${string}`;
@@ -234,7 +235,6 @@ export declare const optimismGoerli: {
234
235
  maxFeePerBlobGas?: `0x${string}` | undefined;
235
236
  maxFeePerGas?: `0x${string}` | undefined;
236
237
  maxPriorityFeePerGas?: `0x${string}` | undefined;
237
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
238
238
  to?: `0x${string}` | null;
239
239
  from?: `0x${string}`;
240
240
  gas?: `0x${string}`;
@@ -250,6 +250,7 @@ export declare const optimismGoerli: {
250
250
  chainId?: `0x${string}` | undefined;
251
251
  yParity?: `0x${string}` | undefined;
252
252
  } & {
253
+ type: "0x1";
253
254
  r: `0x${string}`;
254
255
  s: `0x${string}`;
255
256
  v: `0x${string}`;
@@ -257,7 +258,6 @@ export declare const optimismGoerli: {
257
258
  maxFeePerBlobGas?: undefined;
258
259
  maxFeePerGas?: undefined;
259
260
  maxPriorityFeePerGas?: undefined;
260
- type: "0x1";
261
261
  to: `0x${string}` | null;
262
262
  from: `0x${string}`;
263
263
  gas: `0x${string}`;
@@ -277,6 +277,7 @@ export declare const optimismGoerli: {
277
277
  mint?: undefined;
278
278
  sourceHash?: undefined;
279
279
  }) | ({
280
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
280
281
  r?: `0x${string}`;
281
282
  s?: `0x${string}`;
282
283
  v?: `0x${string}`;
@@ -284,7 +285,6 @@ export declare const optimismGoerli: {
284
285
  maxFeePerBlobGas?: `0x${string}` | undefined;
285
286
  maxFeePerGas?: `0x${string}` | undefined;
286
287
  maxPriorityFeePerGas?: `0x${string}` | undefined;
287
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
288
288
  to?: `0x${string}` | null;
289
289
  from?: `0x${string}`;
290
290
  gas?: `0x${string}`;
@@ -300,6 +300,7 @@ export declare const optimismGoerli: {
300
300
  chainId?: `0x${string}` | undefined;
301
301
  yParity?: `0x${string}` | undefined;
302
302
  } & {
303
+ type: "0x2";
303
304
  r: `0x${string}`;
304
305
  s: `0x${string}`;
305
306
  v: `0x${string}`;
@@ -307,7 +308,6 @@ export declare const optimismGoerli: {
307
308
  maxFeePerBlobGas?: undefined;
308
309
  maxFeePerGas: `0x${string}`;
309
310
  maxPriorityFeePerGas: `0x${string}`;
310
- type: "0x2";
311
311
  to: `0x${string}` | null;
312
312
  from: `0x${string}`;
313
313
  gas: `0x${string}`;
@@ -327,6 +327,7 @@ export declare const optimismGoerli: {
327
327
  mint?: undefined;
328
328
  sourceHash?: undefined;
329
329
  }) | ({
330
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
330
331
  r?: `0x${string}`;
331
332
  s?: `0x${string}`;
332
333
  v?: `0x${string}`;
@@ -334,7 +335,6 @@ export declare const optimismGoerli: {
334
335
  maxFeePerBlobGas?: `0x${string}` | undefined;
335
336
  maxFeePerGas?: `0x${string}` | undefined;
336
337
  maxPriorityFeePerGas?: `0x${string}` | undefined;
337
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
338
338
  to?: `0x${string}` | null;
339
339
  from?: `0x${string}`;
340
340
  gas?: `0x${string}`;
@@ -355,6 +355,7 @@ export declare const optimismGoerli: {
355
355
  sourceHash: `0x${string}`;
356
356
  type: "0x7e";
357
357
  }) | ({
358
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
358
359
  r?: `0x${string}`;
359
360
  s?: `0x${string}`;
360
361
  v?: `0x${string}`;
@@ -362,7 +363,6 @@ export declare const optimismGoerli: {
362
363
  maxFeePerBlobGas?: `0x${string}` | undefined;
363
364
  maxFeePerGas?: `0x${string}` | undefined;
364
365
  maxPriorityFeePerGas?: `0x${string}` | undefined;
365
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
366
366
  to?: `0x${string}` | null;
367
367
  from?: `0x${string}`;
368
368
  gas?: `0x${string}`;
@@ -378,6 +378,7 @@ export declare const optimismGoerli: {
378
378
  chainId?: `0x${string}` | undefined;
379
379
  yParity?: `0x${string}` | undefined;
380
380
  } & {
381
+ type: "0x0";
381
382
  r: `0x${string}`;
382
383
  s: `0x${string}`;
383
384
  v: `0x${string}`;
@@ -386,7 +387,6 @@ export declare const optimismGoerli: {
386
387
  maxFeePerBlobGas?: undefined;
387
388
  maxFeePerGas?: undefined;
388
389
  maxPriorityFeePerGas?: undefined;
389
- type: "0x0";
390
390
  to: `0x${string}` | null;
391
391
  from: `0x${string}`;
392
392
  gas: `0x${string}`;
@@ -405,6 +405,7 @@ export declare const optimismGoerli: {
405
405
  mint?: undefined;
406
406
  sourceHash?: undefined;
407
407
  }) | ({
408
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
408
409
  r?: `0x${string}`;
409
410
  s?: `0x${string}`;
410
411
  v?: `0x${string}`;
@@ -412,7 +413,6 @@ export declare const optimismGoerli: {
412
413
  maxFeePerBlobGas?: `0x${string}` | undefined;
413
414
  maxFeePerGas?: `0x${string}` | undefined;
414
415
  maxPriorityFeePerGas?: `0x${string}` | undefined;
415
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
416
416
  to?: `0x${string}` | null;
417
417
  from?: `0x${string}`;
418
418
  gas?: `0x${string}`;
@@ -428,6 +428,7 @@ export declare const optimismGoerli: {
428
428
  chainId?: `0x${string}` | undefined;
429
429
  yParity?: `0x${string}` | undefined;
430
430
  } & {
431
+ type: "0x1";
431
432
  r: `0x${string}`;
432
433
  s: `0x${string}`;
433
434
  v: `0x${string}`;
@@ -435,7 +436,6 @@ export declare const optimismGoerli: {
435
436
  maxFeePerBlobGas?: undefined;
436
437
  maxFeePerGas?: undefined;
437
438
  maxPriorityFeePerGas?: undefined;
438
- type: "0x1";
439
439
  to: `0x${string}` | null;
440
440
  from: `0x${string}`;
441
441
  gas: `0x${string}`;
@@ -455,6 +455,7 @@ export declare const optimismGoerli: {
455
455
  mint?: undefined;
456
456
  sourceHash?: undefined;
457
457
  }) | ({
458
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
458
459
  r?: `0x${string}`;
459
460
  s?: `0x${string}`;
460
461
  v?: `0x${string}`;
@@ -462,7 +463,6 @@ export declare const optimismGoerli: {
462
463
  maxFeePerBlobGas?: `0x${string}` | undefined;
463
464
  maxFeePerGas?: `0x${string}` | undefined;
464
465
  maxPriorityFeePerGas?: `0x${string}` | undefined;
465
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
466
466
  to?: `0x${string}` | null;
467
467
  from?: `0x${string}`;
468
468
  gas?: `0x${string}`;
@@ -478,6 +478,7 @@ export declare const optimismGoerli: {
478
478
  chainId?: `0x${string}` | undefined;
479
479
  yParity?: `0x${string}` | undefined;
480
480
  } & {
481
+ type: "0x2";
481
482
  r: `0x${string}`;
482
483
  s: `0x${string}`;
483
484
  v: `0x${string}`;
@@ -485,7 +486,6 @@ export declare const optimismGoerli: {
485
486
  maxFeePerBlobGas?: undefined;
486
487
  maxFeePerGas: `0x${string}`;
487
488
  maxPriorityFeePerGas: `0x${string}`;
488
- type: "0x2";
489
489
  to: `0x${string}` | null;
490
490
  from: `0x${string}`;
491
491
  gas: `0x${string}`;
@@ -505,6 +505,7 @@ export declare const optimismGoerli: {
505
505
  mint?: undefined;
506
506
  sourceHash?: undefined;
507
507
  }) | ({
508
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
508
509
  r?: `0x${string}`;
509
510
  s?: `0x${string}`;
510
511
  v?: `0x${string}`;
@@ -512,7 +513,6 @@ export declare const optimismGoerli: {
512
513
  maxFeePerBlobGas?: `0x${string}` | undefined;
513
514
  maxFeePerGas?: `0x${string}` | undefined;
514
515
  maxPriorityFeePerGas?: `0x${string}` | undefined;
515
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
516
516
  to?: `0x${string}` | null;
517
517
  from?: `0x${string}`;
518
518
  gas?: `0x${string}`;
@@ -533,6 +533,7 @@ export declare const optimismGoerli: {
533
533
  sourceHash: `0x${string}`;
534
534
  type: "0x7e";
535
535
  }) | ({
536
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
536
537
  r?: `0x${string}`;
537
538
  s?: `0x${string}`;
538
539
  v?: `0x${string}`;
@@ -540,7 +541,6 @@ export declare const optimismGoerli: {
540
541
  maxFeePerBlobGas?: `0x${string}` | undefined;
541
542
  maxFeePerGas?: `0x${string}` | undefined;
542
543
  maxPriorityFeePerGas?: `0x${string}` | undefined;
543
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
544
544
  to?: `0x${string}` | null;
545
545
  from?: `0x${string}`;
546
546
  gas?: `0x${string}`;
@@ -556,6 +556,7 @@ export declare const optimismGoerli: {
556
556
  chainId?: `0x${string}` | undefined;
557
557
  yParity?: `0x${string}` | undefined;
558
558
  } & {
559
+ type: "0x0";
559
560
  r: `0x${string}`;
560
561
  s: `0x${string}`;
561
562
  v: `0x${string}`;
@@ -564,7 +565,6 @@ export declare const optimismGoerli: {
564
565
  maxFeePerBlobGas?: undefined;
565
566
  maxFeePerGas?: undefined;
566
567
  maxPriorityFeePerGas?: undefined;
567
- type: "0x0";
568
568
  to: `0x${string}` | null;
569
569
  from: `0x${string}`;
570
570
  gas: `0x${string}`;
@@ -583,6 +583,7 @@ export declare const optimismGoerli: {
583
583
  mint?: undefined;
584
584
  sourceHash?: undefined;
585
585
  }) | ({
586
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
586
587
  r?: `0x${string}`;
587
588
  s?: `0x${string}`;
588
589
  v?: `0x${string}`;
@@ -590,7 +591,6 @@ export declare const optimismGoerli: {
590
591
  maxFeePerBlobGas?: `0x${string}` | undefined;
591
592
  maxFeePerGas?: `0x${string}` | undefined;
592
593
  maxPriorityFeePerGas?: `0x${string}` | undefined;
593
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
594
594
  to?: `0x${string}` | null;
595
595
  from?: `0x${string}`;
596
596
  gas?: `0x${string}`;
@@ -606,6 +606,7 @@ export declare const optimismGoerli: {
606
606
  chainId?: `0x${string}` | undefined;
607
607
  yParity?: `0x${string}` | undefined;
608
608
  } & {
609
+ type: "0x1";
609
610
  r: `0x${string}`;
610
611
  s: `0x${string}`;
611
612
  v: `0x${string}`;
@@ -613,7 +614,6 @@ export declare const optimismGoerli: {
613
614
  maxFeePerBlobGas?: undefined;
614
615
  maxFeePerGas?: undefined;
615
616
  maxPriorityFeePerGas?: undefined;
616
- type: "0x1";
617
617
  to: `0x${string}` | null;
618
618
  from: `0x${string}`;
619
619
  gas: `0x${string}`;
@@ -633,6 +633,7 @@ export declare const optimismGoerli: {
633
633
  mint?: undefined;
634
634
  sourceHash?: undefined;
635
635
  }) | ({
636
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
636
637
  r?: `0x${string}`;
637
638
  s?: `0x${string}`;
638
639
  v?: `0x${string}`;
@@ -640,7 +641,6 @@ export declare const optimismGoerli: {
640
641
  maxFeePerBlobGas?: `0x${string}` | undefined;
641
642
  maxFeePerGas?: `0x${string}` | undefined;
642
643
  maxPriorityFeePerGas?: `0x${string}` | undefined;
643
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
644
644
  to?: `0x${string}` | null;
645
645
  from?: `0x${string}`;
646
646
  gas?: `0x${string}`;
@@ -656,6 +656,7 @@ export declare const optimismGoerli: {
656
656
  chainId?: `0x${string}` | undefined;
657
657
  yParity?: `0x${string}` | undefined;
658
658
  } & {
659
+ type: "0x2";
659
660
  r: `0x${string}`;
660
661
  s: `0x${string}`;
661
662
  v: `0x${string}`;
@@ -663,7 +664,6 @@ export declare const optimismGoerli: {
663
664
  maxFeePerBlobGas?: undefined;
664
665
  maxFeePerGas: `0x${string}`;
665
666
  maxPriorityFeePerGas: `0x${string}`;
666
- type: "0x2";
667
667
  to: `0x${string}` | null;
668
668
  from: `0x${string}`;
669
669
  gas: `0x${string}`;
@@ -683,6 +683,7 @@ export declare const optimismGoerli: {
683
683
  mint?: undefined;
684
684
  sourceHash?: undefined;
685
685
  }) | ({
686
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
686
687
  r?: `0x${string}`;
687
688
  s?: `0x${string}`;
688
689
  v?: `0x${string}`;
@@ -690,7 +691,6 @@ export declare const optimismGoerli: {
690
691
  maxFeePerBlobGas?: `0x${string}` | undefined;
691
692
  maxFeePerGas?: `0x${string}` | undefined;
692
693
  maxPriorityFeePerGas?: `0x${string}` | undefined;
693
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
694
694
  to?: `0x${string}` | null;
695
695
  from?: `0x${string}`;
696
696
  gas?: `0x${string}`;
@@ -706,6 +706,7 @@ export declare const optimismGoerli: {
706
706
  chainId?: `0x${string}` | undefined;
707
707
  yParity?: `0x${string}` | undefined;
708
708
  } & {
709
+ type: "0x3";
709
710
  r: `0x${string}`;
710
711
  s: `0x${string}`;
711
712
  v: `0x${string}`;
@@ -713,7 +714,6 @@ export declare const optimismGoerli: {
713
714
  maxFeePerBlobGas: `0x${string}`;
714
715
  maxFeePerGas: `0x${string}`;
715
716
  maxPriorityFeePerGas: `0x${string}`;
716
- type: "0x3";
717
717
  to: `0x${string}` | null;
718
718
  from: `0x${string}`;
719
719
  gas: `0x${string}`;
@@ -733,6 +733,7 @@ export declare const optimismGoerli: {
733
733
  mint?: undefined;
734
734
  sourceHash?: undefined;
735
735
  }) | ({
736
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
736
737
  r?: `0x${string}`;
737
738
  s?: `0x${string}`;
738
739
  v?: `0x${string}`;
@@ -740,7 +741,6 @@ export declare const optimismGoerli: {
740
741
  maxFeePerBlobGas?: `0x${string}` | undefined;
741
742
  maxFeePerGas?: `0x${string}` | undefined;
742
743
  maxPriorityFeePerGas?: `0x${string}` | undefined;
743
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
744
744
  to?: `0x${string}` | null;
745
745
  from?: `0x${string}`;
746
746
  gas?: `0x${string}`;