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
@@ -7,6 +7,11 @@ export declare const optimism: {
7
7
  };
8
8
  };
9
9
  contracts: {
10
+ readonly disputeGameFactory: {
11
+ readonly 1: {
12
+ readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
13
+ };
14
+ };
10
15
  readonly l2OutputOracle: {
11
16
  readonly 1: {
12
17
  readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
@@ -99,6 +104,7 @@ export declare const optimism: {
99
104
  readonly transaction: {
100
105
  exclude: [] | undefined;
101
106
  format: (args: ({
107
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
102
108
  r?: `0x${string}`;
103
109
  s?: `0x${string}`;
104
110
  v?: `0x${string}`;
@@ -107,7 +113,6 @@ export declare const optimism: {
107
113
  maxFeePerBlobGas?: `0x${string}` | undefined;
108
114
  maxFeePerGas?: `0x${string}` | undefined;
109
115
  maxPriorityFeePerGas?: `0x${string}` | undefined;
110
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
111
116
  to?: `0x${string}` | null;
112
117
  from?: `0x${string}`;
113
118
  gas?: `0x${string}`;
@@ -122,6 +127,7 @@ export declare const optimism: {
122
127
  transactionIndex?: `0x${string}` | null;
123
128
  chainId?: `0x${string}` | undefined;
124
129
  } & {
130
+ type: "0x0";
125
131
  r: `0x${string}`;
126
132
  s: `0x${string}`;
127
133
  v: `0x${string}`;
@@ -130,7 +136,6 @@ export declare const optimism: {
130
136
  maxFeePerBlobGas?: undefined;
131
137
  maxFeePerGas?: undefined;
132
138
  maxPriorityFeePerGas?: undefined;
133
- type: "0x0";
134
139
  to: `0x${string}` | null;
135
140
  from: `0x${string}`;
136
141
  gas: `0x${string}`;
@@ -149,6 +154,7 @@ export declare const optimism: {
149
154
  mint?: undefined;
150
155
  sourceHash?: undefined;
151
156
  }) | ({
157
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
152
158
  r?: `0x${string}`;
153
159
  s?: `0x${string}`;
154
160
  v?: `0x${string}`;
@@ -157,7 +163,6 @@ export declare const optimism: {
157
163
  maxFeePerBlobGas?: `0x${string}` | undefined;
158
164
  maxFeePerGas?: `0x${string}` | undefined;
159
165
  maxPriorityFeePerGas?: `0x${string}` | undefined;
160
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
161
166
  to?: `0x${string}` | null;
162
167
  from?: `0x${string}`;
163
168
  gas?: `0x${string}`;
@@ -177,6 +182,7 @@ export declare const optimism: {
177
182
  sourceHash: `0x${string}`;
178
183
  type: "0x7e";
179
184
  }) | ({
185
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
180
186
  r?: `0x${string}`;
181
187
  s?: `0x${string}`;
182
188
  v?: `0x${string}`;
@@ -184,7 +190,6 @@ export declare const optimism: {
184
190
  maxFeePerBlobGas?: `0x${string}` | undefined;
185
191
  maxFeePerGas?: `0x${string}` | undefined;
186
192
  maxPriorityFeePerGas?: `0x${string}` | undefined;
187
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
188
193
  to?: `0x${string}` | null;
189
194
  from?: `0x${string}`;
190
195
  gas?: `0x${string}`;
@@ -200,6 +205,7 @@ export declare const optimism: {
200
205
  chainId?: `0x${string}` | undefined;
201
206
  yParity?: `0x${string}` | undefined;
202
207
  } & {
208
+ type: "0x0";
203
209
  r: `0x${string}`;
204
210
  s: `0x${string}`;
205
211
  v: `0x${string}`;
@@ -208,7 +214,6 @@ export declare const optimism: {
208
214
  maxFeePerBlobGas?: undefined;
209
215
  maxFeePerGas?: undefined;
210
216
  maxPriorityFeePerGas?: undefined;
211
- type: "0x0";
212
217
  to: `0x${string}` | null;
213
218
  from: `0x${string}`;
214
219
  gas: `0x${string}`;
@@ -227,6 +232,7 @@ export declare const optimism: {
227
232
  mint?: undefined;
228
233
  sourceHash?: undefined;
229
234
  }) | ({
235
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
230
236
  r?: `0x${string}`;
231
237
  s?: `0x${string}`;
232
238
  v?: `0x${string}`;
@@ -234,7 +240,6 @@ export declare const optimism: {
234
240
  maxFeePerBlobGas?: `0x${string}` | undefined;
235
241
  maxFeePerGas?: `0x${string}` | undefined;
236
242
  maxPriorityFeePerGas?: `0x${string}` | undefined;
237
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
238
243
  to?: `0x${string}` | null;
239
244
  from?: `0x${string}`;
240
245
  gas?: `0x${string}`;
@@ -250,6 +255,7 @@ export declare const optimism: {
250
255
  chainId?: `0x${string}` | undefined;
251
256
  yParity?: `0x${string}` | undefined;
252
257
  } & {
258
+ type: "0x1";
253
259
  r: `0x${string}`;
254
260
  s: `0x${string}`;
255
261
  v: `0x${string}`;
@@ -257,7 +263,6 @@ export declare const optimism: {
257
263
  maxFeePerBlobGas?: undefined;
258
264
  maxFeePerGas?: undefined;
259
265
  maxPriorityFeePerGas?: undefined;
260
- type: "0x1";
261
266
  to: `0x${string}` | null;
262
267
  from: `0x${string}`;
263
268
  gas: `0x${string}`;
@@ -277,6 +282,7 @@ export declare const optimism: {
277
282
  mint?: undefined;
278
283
  sourceHash?: undefined;
279
284
  }) | ({
285
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
280
286
  r?: `0x${string}`;
281
287
  s?: `0x${string}`;
282
288
  v?: `0x${string}`;
@@ -284,7 +290,6 @@ export declare const optimism: {
284
290
  maxFeePerBlobGas?: `0x${string}` | undefined;
285
291
  maxFeePerGas?: `0x${string}` | undefined;
286
292
  maxPriorityFeePerGas?: `0x${string}` | undefined;
287
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
288
293
  to?: `0x${string}` | null;
289
294
  from?: `0x${string}`;
290
295
  gas?: `0x${string}`;
@@ -300,6 +305,7 @@ export declare const optimism: {
300
305
  chainId?: `0x${string}` | undefined;
301
306
  yParity?: `0x${string}` | undefined;
302
307
  } & {
308
+ type: "0x2";
303
309
  r: `0x${string}`;
304
310
  s: `0x${string}`;
305
311
  v: `0x${string}`;
@@ -307,7 +313,6 @@ export declare const optimism: {
307
313
  maxFeePerBlobGas?: undefined;
308
314
  maxFeePerGas: `0x${string}`;
309
315
  maxPriorityFeePerGas: `0x${string}`;
310
- type: "0x2";
311
316
  to: `0x${string}` | null;
312
317
  from: `0x${string}`;
313
318
  gas: `0x${string}`;
@@ -327,6 +332,7 @@ export declare const optimism: {
327
332
  mint?: undefined;
328
333
  sourceHash?: undefined;
329
334
  }) | ({
335
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
330
336
  r?: `0x${string}`;
331
337
  s?: `0x${string}`;
332
338
  v?: `0x${string}`;
@@ -334,7 +340,6 @@ export declare const optimism: {
334
340
  maxFeePerBlobGas?: `0x${string}` | undefined;
335
341
  maxFeePerGas?: `0x${string}` | undefined;
336
342
  maxPriorityFeePerGas?: `0x${string}` | undefined;
337
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
338
343
  to?: `0x${string}` | null;
339
344
  from?: `0x${string}`;
340
345
  gas?: `0x${string}`;
@@ -355,6 +360,7 @@ export declare const optimism: {
355
360
  sourceHash: `0x${string}`;
356
361
  type: "0x7e";
357
362
  }) | ({
363
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
358
364
  r?: `0x${string}`;
359
365
  s?: `0x${string}`;
360
366
  v?: `0x${string}`;
@@ -362,7 +368,6 @@ export declare const optimism: {
362
368
  maxFeePerBlobGas?: `0x${string}` | undefined;
363
369
  maxFeePerGas?: `0x${string}` | undefined;
364
370
  maxPriorityFeePerGas?: `0x${string}` | undefined;
365
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
366
371
  to?: `0x${string}` | null;
367
372
  from?: `0x${string}`;
368
373
  gas?: `0x${string}`;
@@ -378,6 +383,7 @@ export declare const optimism: {
378
383
  chainId?: `0x${string}` | undefined;
379
384
  yParity?: `0x${string}` | undefined;
380
385
  } & {
386
+ type: "0x0";
381
387
  r: `0x${string}`;
382
388
  s: `0x${string}`;
383
389
  v: `0x${string}`;
@@ -386,7 +392,6 @@ export declare const optimism: {
386
392
  maxFeePerBlobGas?: undefined;
387
393
  maxFeePerGas?: undefined;
388
394
  maxPriorityFeePerGas?: undefined;
389
- type: "0x0";
390
395
  to: `0x${string}` | null;
391
396
  from: `0x${string}`;
392
397
  gas: `0x${string}`;
@@ -405,6 +410,7 @@ export declare const optimism: {
405
410
  mint?: undefined;
406
411
  sourceHash?: undefined;
407
412
  }) | ({
413
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
408
414
  r?: `0x${string}`;
409
415
  s?: `0x${string}`;
410
416
  v?: `0x${string}`;
@@ -412,7 +418,6 @@ export declare const optimism: {
412
418
  maxFeePerBlobGas?: `0x${string}` | undefined;
413
419
  maxFeePerGas?: `0x${string}` | undefined;
414
420
  maxPriorityFeePerGas?: `0x${string}` | undefined;
415
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
416
421
  to?: `0x${string}` | null;
417
422
  from?: `0x${string}`;
418
423
  gas?: `0x${string}`;
@@ -428,6 +433,7 @@ export declare const optimism: {
428
433
  chainId?: `0x${string}` | undefined;
429
434
  yParity?: `0x${string}` | undefined;
430
435
  } & {
436
+ type: "0x1";
431
437
  r: `0x${string}`;
432
438
  s: `0x${string}`;
433
439
  v: `0x${string}`;
@@ -435,7 +441,6 @@ export declare const optimism: {
435
441
  maxFeePerBlobGas?: undefined;
436
442
  maxFeePerGas?: undefined;
437
443
  maxPriorityFeePerGas?: undefined;
438
- type: "0x1";
439
444
  to: `0x${string}` | null;
440
445
  from: `0x${string}`;
441
446
  gas: `0x${string}`;
@@ -455,6 +460,7 @@ export declare const optimism: {
455
460
  mint?: undefined;
456
461
  sourceHash?: undefined;
457
462
  }) | ({
463
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
458
464
  r?: `0x${string}`;
459
465
  s?: `0x${string}`;
460
466
  v?: `0x${string}`;
@@ -462,7 +468,6 @@ export declare const optimism: {
462
468
  maxFeePerBlobGas?: `0x${string}` | undefined;
463
469
  maxFeePerGas?: `0x${string}` | undefined;
464
470
  maxPriorityFeePerGas?: `0x${string}` | undefined;
465
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
466
471
  to?: `0x${string}` | null;
467
472
  from?: `0x${string}`;
468
473
  gas?: `0x${string}`;
@@ -478,6 +483,7 @@ export declare const optimism: {
478
483
  chainId?: `0x${string}` | undefined;
479
484
  yParity?: `0x${string}` | undefined;
480
485
  } & {
486
+ type: "0x2";
481
487
  r: `0x${string}`;
482
488
  s: `0x${string}`;
483
489
  v: `0x${string}`;
@@ -485,7 +491,6 @@ export declare const optimism: {
485
491
  maxFeePerBlobGas?: undefined;
486
492
  maxFeePerGas: `0x${string}`;
487
493
  maxPriorityFeePerGas: `0x${string}`;
488
- type: "0x2";
489
494
  to: `0x${string}` | null;
490
495
  from: `0x${string}`;
491
496
  gas: `0x${string}`;
@@ -505,6 +510,7 @@ export declare const optimism: {
505
510
  mint?: undefined;
506
511
  sourceHash?: undefined;
507
512
  }) | ({
513
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
508
514
  r?: `0x${string}`;
509
515
  s?: `0x${string}`;
510
516
  v?: `0x${string}`;
@@ -512,7 +518,6 @@ export declare const optimism: {
512
518
  maxFeePerBlobGas?: `0x${string}` | undefined;
513
519
  maxFeePerGas?: `0x${string}` | undefined;
514
520
  maxPriorityFeePerGas?: `0x${string}` | undefined;
515
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
516
521
  to?: `0x${string}` | null;
517
522
  from?: `0x${string}`;
518
523
  gas?: `0x${string}`;
@@ -533,6 +538,7 @@ export declare const optimism: {
533
538
  sourceHash: `0x${string}`;
534
539
  type: "0x7e";
535
540
  }) | ({
541
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
536
542
  r?: `0x${string}`;
537
543
  s?: `0x${string}`;
538
544
  v?: `0x${string}`;
@@ -540,7 +546,6 @@ export declare const optimism: {
540
546
  maxFeePerBlobGas?: `0x${string}` | undefined;
541
547
  maxFeePerGas?: `0x${string}` | undefined;
542
548
  maxPriorityFeePerGas?: `0x${string}` | undefined;
543
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
544
549
  to?: `0x${string}` | null;
545
550
  from?: `0x${string}`;
546
551
  gas?: `0x${string}`;
@@ -556,6 +561,7 @@ export declare const optimism: {
556
561
  chainId?: `0x${string}` | undefined;
557
562
  yParity?: `0x${string}` | undefined;
558
563
  } & {
564
+ type: "0x0";
559
565
  r: `0x${string}`;
560
566
  s: `0x${string}`;
561
567
  v: `0x${string}`;
@@ -564,7 +570,6 @@ export declare const optimism: {
564
570
  maxFeePerBlobGas?: undefined;
565
571
  maxFeePerGas?: undefined;
566
572
  maxPriorityFeePerGas?: undefined;
567
- type: "0x0";
568
573
  to: `0x${string}` | null;
569
574
  from: `0x${string}`;
570
575
  gas: `0x${string}`;
@@ -583,6 +588,7 @@ export declare const optimism: {
583
588
  mint?: undefined;
584
589
  sourceHash?: undefined;
585
590
  }) | ({
591
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
586
592
  r?: `0x${string}`;
587
593
  s?: `0x${string}`;
588
594
  v?: `0x${string}`;
@@ -590,7 +596,6 @@ export declare const optimism: {
590
596
  maxFeePerBlobGas?: `0x${string}` | undefined;
591
597
  maxFeePerGas?: `0x${string}` | undefined;
592
598
  maxPriorityFeePerGas?: `0x${string}` | undefined;
593
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
594
599
  to?: `0x${string}` | null;
595
600
  from?: `0x${string}`;
596
601
  gas?: `0x${string}`;
@@ -606,6 +611,7 @@ export declare const optimism: {
606
611
  chainId?: `0x${string}` | undefined;
607
612
  yParity?: `0x${string}` | undefined;
608
613
  } & {
614
+ type: "0x1";
609
615
  r: `0x${string}`;
610
616
  s: `0x${string}`;
611
617
  v: `0x${string}`;
@@ -613,7 +619,6 @@ export declare const optimism: {
613
619
  maxFeePerBlobGas?: undefined;
614
620
  maxFeePerGas?: undefined;
615
621
  maxPriorityFeePerGas?: undefined;
616
- type: "0x1";
617
622
  to: `0x${string}` | null;
618
623
  from: `0x${string}`;
619
624
  gas: `0x${string}`;
@@ -633,6 +638,7 @@ export declare const optimism: {
633
638
  mint?: undefined;
634
639
  sourceHash?: undefined;
635
640
  }) | ({
641
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
636
642
  r?: `0x${string}`;
637
643
  s?: `0x${string}`;
638
644
  v?: `0x${string}`;
@@ -640,7 +646,6 @@ export declare const optimism: {
640
646
  maxFeePerBlobGas?: `0x${string}` | undefined;
641
647
  maxFeePerGas?: `0x${string}` | undefined;
642
648
  maxPriorityFeePerGas?: `0x${string}` | undefined;
643
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
644
649
  to?: `0x${string}` | null;
645
650
  from?: `0x${string}`;
646
651
  gas?: `0x${string}`;
@@ -656,6 +661,7 @@ export declare const optimism: {
656
661
  chainId?: `0x${string}` | undefined;
657
662
  yParity?: `0x${string}` | undefined;
658
663
  } & {
664
+ type: "0x2";
659
665
  r: `0x${string}`;
660
666
  s: `0x${string}`;
661
667
  v: `0x${string}`;
@@ -663,7 +669,6 @@ export declare const optimism: {
663
669
  maxFeePerBlobGas?: undefined;
664
670
  maxFeePerGas: `0x${string}`;
665
671
  maxPriorityFeePerGas: `0x${string}`;
666
- type: "0x2";
667
672
  to: `0x${string}` | null;
668
673
  from: `0x${string}`;
669
674
  gas: `0x${string}`;
@@ -683,6 +688,7 @@ export declare const optimism: {
683
688
  mint?: undefined;
684
689
  sourceHash?: undefined;
685
690
  }) | ({
691
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
686
692
  r?: `0x${string}`;
687
693
  s?: `0x${string}`;
688
694
  v?: `0x${string}`;
@@ -690,7 +696,6 @@ export declare const optimism: {
690
696
  maxFeePerBlobGas?: `0x${string}` | undefined;
691
697
  maxFeePerGas?: `0x${string}` | undefined;
692
698
  maxPriorityFeePerGas?: `0x${string}` | undefined;
693
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
694
699
  to?: `0x${string}` | null;
695
700
  from?: `0x${string}`;
696
701
  gas?: `0x${string}`;
@@ -706,6 +711,7 @@ export declare const optimism: {
706
711
  chainId?: `0x${string}` | undefined;
707
712
  yParity?: `0x${string}` | undefined;
708
713
  } & {
714
+ type: "0x3";
709
715
  r: `0x${string}`;
710
716
  s: `0x${string}`;
711
717
  v: `0x${string}`;
@@ -713,7 +719,6 @@ export declare const optimism: {
713
719
  maxFeePerBlobGas: `0x${string}`;
714
720
  maxFeePerGas: `0x${string}`;
715
721
  maxPriorityFeePerGas: `0x${string}`;
716
- type: "0x3";
717
722
  to: `0x${string}` | null;
718
723
  from: `0x${string}`;
719
724
  gas: `0x${string}`;
@@ -733,6 +738,7 @@ export declare const optimism: {
733
738
  mint?: undefined;
734
739
  sourceHash?: undefined;
735
740
  }) | ({
741
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
736
742
  r?: `0x${string}`;
737
743
  s?: `0x${string}`;
738
744
  v?: `0x${string}`;
@@ -740,7 +746,6 @@ export declare const optimism: {
740
746
  maxFeePerBlobGas?: `0x${string}` | undefined;
741
747
  maxFeePerGas?: `0x${string}` | undefined;
742
748
  maxPriorityFeePerGas?: `0x${string}` | undefined;
743
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
744
749
  to?: `0x${string}` | null;
745
750
  from?: `0x${string}`;
746
751
  gas?: `0x${string}`;
@@ -1 +1 @@
1
- {"version":3,"file":"optimism.d.ts","sourceRoot":"","sources":["../../../chains/definitions/optimism.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCnB,CAAA"}
1
+ {"version":3,"file":"optimism.d.ts","sourceRoot":"","sources":["../../../chains/definitions/optimism.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CnB,CAAA"}