viem 2.13.7 → 2.13.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (433) hide show
  1. package/CHANGELOG.md +8 -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/index.js.map +1 -1
  9. package/_cjs/celo/utils.js.map +1 -1
  10. package/_cjs/chains/definitions/optimism.js +5 -0
  11. package/_cjs/chains/definitions/optimism.js.map +1 -1
  12. package/_cjs/chains/definitions/sei.js +1 -0
  13. package/_cjs/chains/definitions/sei.js.map +1 -1
  14. package/_cjs/clients/createClient.js +2 -2
  15. package/_cjs/clients/createClient.js.map +1 -1
  16. package/_cjs/clients/transports/fallback.js.map +1 -1
  17. package/_cjs/clients/transports/http.js.map +1 -1
  18. package/_cjs/constants/abis.js.map +1 -1
  19. package/_cjs/constants/blob.js +4 -4
  20. package/_cjs/constants/blob.js.map +1 -1
  21. package/_cjs/constants/kzg.js +1 -3
  22. package/_cjs/constants/kzg.js.map +1 -1
  23. package/_cjs/errors/abi.js +1 -13
  24. package/_cjs/errors/abi.js.map +1 -1
  25. package/_cjs/errors/ccip.js.map +1 -1
  26. package/_cjs/errors/stateOverride.js.map +1 -1
  27. package/_cjs/errors/version.js +1 -1
  28. package/_cjs/experimental/eip5792/actions/getCapabilities.js +2 -2
  29. package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +1 -1
  30. package/_cjs/experimental/eip5792/actions/sendCalls.js +2 -2
  31. package/_cjs/experimental/eip5792/actions/sendCalls.js.map +1 -1
  32. package/_cjs/index.js +6 -4
  33. package/_cjs/index.js.map +1 -1
  34. package/_cjs/node/trustedSetups.js +1 -2
  35. package/_cjs/node/trustedSetups.js.map +1 -1
  36. package/_cjs/op-stack/abis.js +1 -458
  37. package/_cjs/op-stack/abis.js.map +1 -1
  38. package/_cjs/op-stack/actions/buildProveWithdrawal.js.map +1 -1
  39. package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  40. package/_cjs/op-stack/index.js +15 -2
  41. package/_cjs/op-stack/index.js.map +1 -1
  42. package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
  43. package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
  44. package/_cjs/utils/abi/getAbiItem.js.map +1 -1
  45. package/_cjs/utils/address/getAddress.js +5 -5
  46. package/_cjs/utils/address/getAddress.js.map +1 -1
  47. package/_cjs/utils/address/isAddress.js.map +1 -1
  48. package/_cjs/utils/blob/toBlobs.js.map +1 -1
  49. package/_cjs/utils/buildRequest.js.map +1 -1
  50. package/_cjs/utils/ccip.js.map +1 -1
  51. package/_cjs/utils/cursor.js.map +1 -1
  52. package/_cjs/utils/encoding/fromRlp.js +1 -9
  53. package/_cjs/utils/encoding/fromRlp.js.map +1 -1
  54. package/_cjs/utils/ens/avatar/utils.js.map +1 -1
  55. package/_cjs/utils/ens/errors.js.map +1 -1
  56. package/_cjs/utils/observe.js.map +1 -1
  57. package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
  58. package/_cjs/utils/promise/withCache.js.map +1 -1
  59. package/_cjs/utils/promise/withTimeout.js.map +1 -1
  60. package/_cjs/utils/rpc/id.js +1 -2
  61. package/_cjs/utils/rpc/id.js.map +1 -1
  62. package/_cjs/utils/rpc/ipc.js.map +1 -1
  63. package/_cjs/utils/stateOverride.js.map +1 -1
  64. package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
  65. package/_cjs/zksync/actions/deployContract.js.map +1 -1
  66. package/_cjs/zksync/actions/estimateGasL1ToL2.js +2 -2
  67. package/_cjs/zksync/actions/estimateGasL1ToL2.js.map +1 -1
  68. package/_cjs/zksync/actions/getAllBalances.js +2 -2
  69. package/_cjs/zksync/actions/getAllBalances.js.map +1 -1
  70. package/_cjs/zksync/actions/getL1Allowance.js +2 -2
  71. package/_cjs/zksync/actions/getL1Allowance.js.map +1 -1
  72. package/_cjs/zksync/actions/getL1Balance.js +2 -2
  73. package/_cjs/zksync/actions/getL1Balance.js.map +1 -1
  74. package/_cjs/zksync/actions/getL1TokenBalance.js +2 -2
  75. package/_cjs/zksync/actions/getL1TokenBalance.js.map +1 -1
  76. package/_cjs/zksync/constants/contract.js +1 -2
  77. package/_cjs/zksync/constants/contract.js.map +1 -1
  78. package/_cjs/zksync/index.js.map +1 -1
  79. package/_cjs/zksync/serializers.js.map +1 -1
  80. package/_cjs/zksync/utils/abi/encodeDeployData.js.map +1 -1
  81. package/_cjs/zksync/utils/assertEip712Request.js.map +1 -1
  82. package/_cjs/zksync/utils/hashBytecode.js.map +1 -1
  83. package/_esm/accounts/hdKeyToAccount.js.map +1 -1
  84. package/_esm/actions/public/call.js +1 -0
  85. package/_esm/actions/public/call.js.map +1 -1
  86. package/_esm/actions/public/estimateGas.js.map +1 -1
  87. package/_esm/actions/public/getBlockNumber.js +2 -1
  88. package/_esm/actions/public/getBlockNumber.js.map +1 -1
  89. package/_esm/actions/test/sendUnsignedTransaction.js +2 -2
  90. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  91. package/_esm/actions/wallet/signTypedData.js.map +1 -1
  92. package/_esm/celo/index.js +1 -1
  93. package/_esm/celo/index.js.map +1 -1
  94. package/_esm/celo/utils.js +1 -0
  95. package/_esm/celo/utils.js.map +1 -1
  96. package/_esm/chains/definitions/optimism.js +5 -0
  97. package/_esm/chains/definitions/optimism.js.map +1 -1
  98. package/_esm/chains/definitions/sei.js +1 -0
  99. package/_esm/chains/definitions/sei.js.map +1 -1
  100. package/_esm/clients/createClient.js +1 -1
  101. package/_esm/clients/createClient.js.map +1 -1
  102. package/_esm/clients/transports/fallback.js +1 -0
  103. package/_esm/clients/transports/fallback.js.map +1 -1
  104. package/_esm/clients/transports/http.js.map +1 -1
  105. package/_esm/constants/abis.js +1 -0
  106. package/_esm/constants/abis.js.map +1 -1
  107. package/_esm/constants/blob.js +1 -1
  108. package/_esm/constants/blob.js.map +1 -1
  109. package/_esm/constants/kzg.js +0 -4
  110. package/_esm/constants/kzg.js.map +1 -1
  111. package/_esm/errors/abi.js +0 -11
  112. package/_esm/errors/abi.js.map +1 -1
  113. package/_esm/errors/ccip.js.map +1 -1
  114. package/_esm/errors/stateOverride.js +1 -0
  115. package/_esm/errors/stateOverride.js.map +1 -1
  116. package/_esm/errors/version.js +1 -1
  117. package/_esm/experimental/eip5792/actions/getCapabilities.js +1 -1
  118. package/_esm/experimental/eip5792/actions/getCapabilities.js.map +1 -1
  119. package/_esm/experimental/eip5792/actions/sendCalls.js +1 -1
  120. package/_esm/experimental/eip5792/actions/sendCalls.js.map +1 -1
  121. package/_esm/index.js +4 -3
  122. package/_esm/index.js.map +1 -1
  123. package/_esm/node/trustedSetups.js +0 -1
  124. package/_esm/node/trustedSetups.js.map +1 -1
  125. package/_esm/node/trustedSetups_cjs.js +0 -1
  126. package/_esm/node/trustedSetups_cjs.js.map +1 -1
  127. package/_esm/op-stack/abis.js +0 -457
  128. package/_esm/op-stack/abis.js.map +1 -1
  129. package/_esm/op-stack/actions/buildProveWithdrawal.js +1 -0
  130. package/_esm/op-stack/actions/buildProveWithdrawal.js.map +1 -1
  131. package/_esm/op-stack/actions/getWithdrawalStatus.js +1 -1
  132. package/_esm/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  133. package/_esm/op-stack/index.js +0 -1
  134. package/_esm/op-stack/index.js.map +1 -1
  135. package/_esm/utils/abi/decodeAbiParameters.js +1 -1
  136. package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
  137. package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
  138. package/_esm/utils/abi/getAbiItem.js +3 -1
  139. package/_esm/utils/abi/getAbiItem.js.map +1 -1
  140. package/_esm/utils/address/getAddress.js +1 -1
  141. package/_esm/utils/address/getAddress.js.map +1 -1
  142. package/_esm/utils/address/isAddress.js +1 -0
  143. package/_esm/utils/address/isAddress.js.map +1 -1
  144. package/_esm/utils/blob/toBlobs.js.map +1 -1
  145. package/_esm/utils/buildRequest.js +1 -0
  146. package/_esm/utils/buildRequest.js.map +1 -1
  147. package/_esm/utils/ccip.js +1 -1
  148. package/_esm/utils/ccip.js.map +1 -1
  149. package/_esm/utils/cursor.js.map +1 -1
  150. package/_esm/utils/encoding/fromRlp.js +0 -6
  151. package/_esm/utils/encoding/fromRlp.js.map +1 -1
  152. package/_esm/utils/ens/avatar/utils.js +2 -0
  153. package/_esm/utils/ens/avatar/utils.js.map +1 -1
  154. package/_esm/utils/ens/errors.js.map +1 -1
  155. package/_esm/utils/observe.js +2 -0
  156. package/_esm/utils/observe.js.map +1 -1
  157. package/_esm/utils/promise/createBatchScheduler.js +1 -0
  158. package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
  159. package/_esm/utils/promise/withCache.js +2 -0
  160. package/_esm/utils/promise/withCache.js.map +1 -1
  161. package/_esm/utils/promise/withTimeout.js +1 -1
  162. package/_esm/utils/promise/withTimeout.js.map +1 -1
  163. package/_esm/utils/rpc/id.js +1 -1
  164. package/_esm/utils/rpc/id.js.map +1 -1
  165. package/_esm/utils/rpc/ipc.js +1 -0
  166. package/_esm/utils/rpc/ipc.js.map +1 -1
  167. package/_esm/utils/stateOverride.js +3 -0
  168. package/_esm/utils/stateOverride.js.map +1 -1
  169. package/_esm/utils/transaction/parseTransaction.js.map +1 -1
  170. package/_esm/utils/unit/parseUnits.js +1 -1
  171. package/_esm/utils/unit/parseUnits.js.map +1 -1
  172. package/_esm/zksync/actions/deployContract.js +1 -1
  173. package/_esm/zksync/actions/deployContract.js.map +1 -1
  174. package/_esm/zksync/actions/estimateGasL1ToL2.js +1 -1
  175. package/_esm/zksync/actions/estimateGasL1ToL2.js.map +1 -1
  176. package/_esm/zksync/actions/getAllBalances.js +1 -1
  177. package/_esm/zksync/actions/getAllBalances.js.map +1 -1
  178. package/_esm/zksync/actions/getL1Allowance.js +1 -1
  179. package/_esm/zksync/actions/getL1Allowance.js.map +1 -1
  180. package/_esm/zksync/actions/getL1Balance.js +1 -1
  181. package/_esm/zksync/actions/getL1Balance.js.map +1 -1
  182. package/_esm/zksync/actions/getL1TokenBalance.js +2 -2
  183. package/_esm/zksync/actions/getL1TokenBalance.js.map +1 -1
  184. package/_esm/zksync/constants/contract.js +0 -1
  185. package/_esm/zksync/constants/contract.js.map +1 -1
  186. package/_esm/zksync/index.js.map +1 -1
  187. package/_esm/zksync/serializers.js.map +1 -1
  188. package/_esm/zksync/utils/abi/encodeDeployData.js +1 -1
  189. package/_esm/zksync/utils/abi/encodeDeployData.js.map +1 -1
  190. package/_esm/zksync/utils/assertEip712Request.js +1 -1
  191. package/_esm/zksync/utils/assertEip712Request.js.map +1 -1
  192. package/_esm/zksync/utils/hashBytecode.js.map +1 -1
  193. package/_types/accounts/hdKeyToAccount.d.ts +1 -1
  194. package/_types/accounts/hdKeyToAccount.d.ts.map +1 -1
  195. package/_types/accounts/types.d.ts +1 -1
  196. package/_types/accounts/types.d.ts.map +1 -1
  197. package/_types/actions/public/call.d.ts +5 -2
  198. package/_types/actions/public/call.d.ts.map +1 -1
  199. package/_types/actions/public/estimateGas.d.ts +2 -1
  200. package/_types/actions/public/estimateGas.d.ts.map +1 -1
  201. package/_types/actions/public/getBlockNumber.d.ts +4 -0
  202. package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
  203. package/_types/actions/test/sendUnsignedTransaction.d.ts +2 -2
  204. package/_types/actions/wallet/prepareTransactionRequest.d.ts +0 -7
  205. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  206. package/_types/actions/wallet/signTypedData.d.ts +2 -2
  207. package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
  208. package/_types/celo/chainConfig.d.ts +60 -60
  209. package/_types/celo/formatters.d.ts +30 -30
  210. package/_types/celo/index.d.ts +2 -2
  211. package/_types/celo/index.d.ts.map +1 -1
  212. package/_types/celo/utils.d.ts +1 -0
  213. package/_types/celo/utils.d.ts.map +1 -1
  214. package/_types/chains/definitions/ancient8.d.ts +26 -26
  215. package/_types/chains/definitions/ancient8Sepolia.d.ts +26 -26
  216. package/_types/chains/definitions/base.d.ts +26 -26
  217. package/_types/chains/definitions/baseGoerli.d.ts +26 -26
  218. package/_types/chains/definitions/baseSepolia.d.ts +26 -26
  219. package/_types/chains/definitions/celo.d.ts +60 -60
  220. package/_types/chains/definitions/celoAlfajores.d.ts +60 -60
  221. package/_types/chains/definitions/fraxtal.d.ts +26 -26
  222. package/_types/chains/definitions/fraxtalTestnet.d.ts +26 -26
  223. package/_types/chains/definitions/funkiSepolia.d.ts +26 -26
  224. package/_types/chains/definitions/liskSepolia.d.ts +26 -26
  225. package/_types/chains/definitions/metalL2.d.ts +26 -26
  226. package/_types/chains/definitions/optimism.d.ts +31 -26
  227. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  228. package/_types/chains/definitions/optimismGoerli.d.ts +26 -26
  229. package/_types/chains/definitions/optimismSepolia.d.ts +26 -26
  230. package/_types/chains/definitions/pgn.d.ts +26 -26
  231. package/_types/chains/definitions/pgnTestnet.d.ts +26 -26
  232. package/_types/chains/definitions/rss3.d.ts +26 -26
  233. package/_types/chains/definitions/rss3Sepolia.d.ts +26 -26
  234. package/_types/chains/definitions/sei.d.ts +1 -0
  235. package/_types/chains/definitions/sei.d.ts.map +1 -1
  236. package/_types/chains/definitions/zora.d.ts +26 -26
  237. package/_types/chains/definitions/zoraSepolia.d.ts +26 -26
  238. package/_types/chains/definitions/zoraTestnet.d.ts +26 -26
  239. package/_types/clients/createClient.d.ts +1 -1
  240. package/_types/clients/createClient.d.ts.map +1 -1
  241. package/_types/clients/transports/fallback.d.ts +1 -0
  242. package/_types/clients/transports/fallback.d.ts.map +1 -1
  243. package/_types/clients/transports/http.d.ts +6 -7
  244. package/_types/clients/transports/http.d.ts.map +1 -1
  245. package/_types/constants/abis.d.ts +1 -0
  246. package/_types/constants/abis.d.ts.map +1 -1
  247. package/_types/constants/blob.d.ts +0 -2
  248. package/_types/constants/blob.d.ts.map +1 -1
  249. package/_types/constants/kzg.d.ts +0 -4
  250. package/_types/constants/kzg.d.ts.map +1 -1
  251. package/_types/errors/abi.d.ts +0 -10
  252. package/_types/errors/abi.d.ts.map +1 -1
  253. package/_types/errors/ccip.d.ts +1 -0
  254. package/_types/errors/ccip.d.ts.map +1 -1
  255. package/_types/errors/stateOverride.d.ts +1 -0
  256. package/_types/errors/stateOverride.d.ts.map +1 -1
  257. package/_types/errors/version.d.ts +1 -1
  258. package/_types/experimental/eip5792/actions/getCapabilities.d.ts.map +1 -1
  259. package/_types/experimental/eip5792/actions/sendCalls.d.ts.map +1 -1
  260. package/_types/experimental/erc7715/types/permission.d.ts +5 -0
  261. package/_types/experimental/erc7715/types/permission.d.ts.map +1 -1
  262. package/_types/experimental/erc7715/types/signer.d.ts +3 -0
  263. package/_types/experimental/erc7715/types/signer.d.ts.map +1 -1
  264. package/_types/index.d.ts +9 -9
  265. package/_types/index.d.ts.map +1 -1
  266. package/_types/node/trustedSetups.d.ts +0 -1
  267. package/_types/node/trustedSetups.d.ts.map +1 -1
  268. package/_types/node/trustedSetups_cjs.d.ts +0 -1
  269. package/_types/node/trustedSetups_cjs.d.ts.map +1 -1
  270. package/_types/op-stack/abis.d.ts +0 -626
  271. package/_types/op-stack/abis.d.ts.map +1 -1
  272. package/_types/op-stack/actions/buildProveWithdrawal.d.ts +1 -0
  273. package/_types/op-stack/actions/buildProveWithdrawal.d.ts.map +1 -1
  274. package/_types/op-stack/actions/getWithdrawalStatus.d.ts +2 -1
  275. package/_types/op-stack/actions/getWithdrawalStatus.d.ts.map +1 -1
  276. package/_types/op-stack/chainConfig.d.ts +26 -26
  277. package/_types/op-stack/formatters.d.ts +26 -26
  278. package/_types/op-stack/index.d.ts.map +1 -1
  279. package/_types/types/account.d.ts +1 -1
  280. package/_types/types/account.d.ts.map +1 -1
  281. package/_types/types/kzg.d.ts +1 -1
  282. package/_types/types/kzg.d.ts.map +1 -1
  283. package/_types/types/proof.d.ts +3 -2
  284. package/_types/types/proof.d.ts.map +1 -1
  285. package/_types/types/utils.d.ts +11 -3
  286. package/_types/types/utils.d.ts.map +1 -1
  287. package/_types/utils/abi/decodeAbiParameters.d.ts +2 -1
  288. package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
  289. package/_types/utils/abi/encodeAbiParameters.d.ts +12 -11
  290. package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
  291. package/_types/utils/abi/getAbiItem.d.ts +6 -2
  292. package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
  293. package/_types/utils/address/getAddress.d.ts +0 -2
  294. package/_types/utils/address/getAddress.d.ts.map +1 -1
  295. package/_types/utils/address/isAddress.d.ts +1 -0
  296. package/_types/utils/address/isAddress.d.ts.map +1 -1
  297. package/_types/utils/blob/toBlobs.d.ts +2 -1
  298. package/_types/utils/blob/toBlobs.d.ts.map +1 -1
  299. package/_types/utils/buildRequest.d.ts +1 -0
  300. package/_types/utils/buildRequest.d.ts.map +1 -1
  301. package/_types/utils/ccip.d.ts +4 -2
  302. package/_types/utils/ccip.d.ts.map +1 -1
  303. package/_types/utils/cursor.d.ts +7 -6
  304. package/_types/utils/cursor.d.ts.map +1 -1
  305. package/_types/utils/encoding/fromRlp.d.ts +3 -7
  306. package/_types/utils/encoding/fromRlp.d.ts.map +1 -1
  307. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +2 -1
  308. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
  309. package/_types/utils/ens/avatar/utils.d.ts +4 -2
  310. package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
  311. package/_types/utils/ens/errors.d.ts +1 -0
  312. package/_types/utils/ens/errors.d.ts.map +1 -1
  313. package/_types/utils/formatters/transaction.d.ts +1 -1
  314. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  315. package/_types/utils/hash/normalizeSignature.d.ts +3 -2
  316. package/_types/utils/hash/normalizeSignature.d.ts.map +1 -1
  317. package/_types/utils/observe.d.ts +2 -0
  318. package/_types/utils/observe.d.ts.map +1 -1
  319. package/_types/utils/promise/createBatchScheduler.d.ts +3 -2
  320. package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
  321. package/_types/utils/promise/withCache.d.ts +4 -1
  322. package/_types/utils/promise/withCache.d.ts.map +1 -1
  323. package/_types/utils/rpc/id.d.ts +0 -5
  324. package/_types/utils/rpc/id.d.ts.map +1 -1
  325. package/_types/utils/rpc/ipc.d.ts +1 -0
  326. package/_types/utils/rpc/ipc.d.ts.map +1 -1
  327. package/_types/utils/stateOverride.d.ts +9 -5
  328. package/_types/utils/stateOverride.d.ts.map +1 -1
  329. package/_types/utils/transaction/parseTransaction.d.ts +5 -5
  330. package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
  331. package/_types/zksync/actions/deployContract.d.ts +2 -1
  332. package/_types/zksync/actions/deployContract.d.ts.map +1 -1
  333. package/_types/zksync/actions/estimateGasL1ToL2.d.ts.map +1 -1
  334. package/_types/zksync/actions/getAllBalances.d.ts.map +1 -1
  335. package/_types/zksync/actions/getL1Allowance.d.ts.map +1 -1
  336. package/_types/zksync/actions/getL1Balance.d.ts.map +1 -1
  337. package/_types/zksync/actions/getL1TokenBalance.d.ts +4 -4
  338. package/_types/zksync/actions/getL1TokenBalance.d.ts.map +1 -1
  339. package/_types/zksync/constants/contract.d.ts +0 -1
  340. package/_types/zksync/constants/contract.d.ts.map +1 -1
  341. package/_types/zksync/index.d.ts +1 -0
  342. package/_types/zksync/index.d.ts.map +1 -1
  343. package/_types/zksync/serializers.d.ts +1 -2
  344. package/_types/zksync/serializers.d.ts.map +1 -1
  345. package/_types/zksync/types/eip1193.d.ts +5 -5
  346. package/_types/zksync/types/eip1193.d.ts.map +1 -1
  347. package/_types/zksync/utils/abi/encodeDeployData.d.ts +5 -0
  348. package/_types/zksync/utils/abi/encodeDeployData.d.ts.map +1 -1
  349. package/_types/zksync/utils/assertEip712Request.d.ts +3 -1
  350. package/_types/zksync/utils/assertEip712Request.d.ts.map +1 -1
  351. package/_types/zksync/utils/hashBytecode.d.ts +5 -0
  352. package/_types/zksync/utils/hashBytecode.d.ts.map +1 -1
  353. package/accounts/hdKeyToAccount.ts +1 -2
  354. package/accounts/types.ts +1 -1
  355. package/actions/public/call.ts +5 -5
  356. package/actions/public/estimateGas.ts +3 -4
  357. package/actions/public/getBlockNumber.ts +9 -1
  358. package/actions/test/sendUnsignedTransaction.ts +2 -2
  359. package/actions/wallet/prepareTransactionRequest.ts +0 -20
  360. package/actions/wallet/signTypedData.ts +2 -0
  361. package/celo/index.ts +5 -2
  362. package/celo/utils.ts +1 -0
  363. package/chains/definitions/optimism.ts +5 -0
  364. package/chains/definitions/sei.ts +1 -0
  365. package/clients/createClient.ts +4 -2
  366. package/clients/transports/fallback.ts +1 -0
  367. package/clients/transports/http.ts +9 -8
  368. package/constants/abis.ts +1 -0
  369. package/constants/blob.ts +1 -1
  370. package/constants/kzg.ts +0 -6
  371. package/errors/abi.ts +0 -13
  372. package/errors/ccip.ts +1 -0
  373. package/errors/stateOverride.ts +1 -0
  374. package/errors/version.ts +1 -1
  375. package/experimental/eip5792/actions/getCapabilities.ts +1 -1
  376. package/experimental/eip5792/actions/sendCalls.ts +1 -1
  377. package/experimental/erc7715/types/permission.ts +5 -0
  378. package/experimental/erc7715/types/signer.ts +3 -0
  379. package/index.ts +21 -5
  380. package/node/trustedSetups.ts +0 -5
  381. package/node/trustedSetups_cjs.ts +0 -5
  382. package/op-stack/abis.ts +0 -458
  383. package/op-stack/actions/buildProveWithdrawal.ts +1 -0
  384. package/op-stack/actions/getWithdrawalStatus.ts +6 -1
  385. package/op-stack/index.ts +0 -1
  386. package/package.json +1 -1
  387. package/types/account.ts +1 -11
  388. package/types/kzg.ts +2 -1
  389. package/types/proof.ts +2 -2
  390. package/types/utils.ts +11 -3
  391. package/utils/abi/decodeAbiParameters.ts +6 -1
  392. package/utils/abi/encodeAbiParameters.ts +22 -19
  393. package/utils/abi/getAbiItem.ts +8 -2
  394. package/utils/address/getAddress.ts +1 -1
  395. package/utils/address/isAddress.ts +1 -0
  396. package/utils/blob/toBlobs.ts +2 -1
  397. package/utils/buildRequest.ts +1 -0
  398. package/utils/ccip.ts +11 -3
  399. package/utils/cursor.ts +16 -6
  400. package/utils/encoding/fromRlp.ts +3 -21
  401. package/utils/ens/avatar/parseAvatarRecord.ts +1 -1
  402. package/utils/ens/avatar/utils.ts +4 -2
  403. package/utils/ens/errors.ts +1 -0
  404. package/utils/hash/normalizeSignature.ts +2 -2
  405. package/utils/observe.ts +2 -0
  406. package/utils/promise/createBatchScheduler.ts +3 -2
  407. package/utils/promise/withCache.ts +3 -1
  408. package/utils/promise/withTimeout.ts +2 -2
  409. package/utils/rpc/id.ts +1 -1
  410. package/utils/rpc/ipc.ts +1 -0
  411. package/utils/stateOverride.ts +8 -5
  412. package/utils/transaction/parseTransaction.ts +7 -2
  413. package/utils/unit/parseUnits.ts +1 -1
  414. package/zksync/actions/deployContract.ts +8 -2
  415. package/zksync/actions/estimateGasL1ToL2.ts +1 -1
  416. package/zksync/actions/getAllBalances.ts +1 -1
  417. package/zksync/actions/getL1Allowance.ts +1 -1
  418. package/zksync/actions/getL1Balance.ts +1 -1
  419. package/zksync/actions/getL1TokenBalance.ts +10 -7
  420. package/zksync/constants/contract.ts +0 -1
  421. package/zksync/index.ts +5 -0
  422. package/zksync/serializers.ts +1 -2
  423. package/zksync/types/eip1193.ts +32 -26
  424. package/zksync/utils/abi/encodeDeployData.ts +12 -2
  425. package/zksync/utils/assertEip712Request.ts +9 -2
  426. package/zksync/utils/hashBytecode.ts +14 -2
  427. package/_cjs/utils/accounts.js +0 -8
  428. package/_cjs/utils/accounts.js.map +0 -1
  429. package/_esm/utils/accounts.js +0 -7
  430. package/_esm/utils/accounts.js.map +0 -1
  431. package/_types/utils/accounts.d.ts +0 -3
  432. package/_types/utils/accounts.d.ts.map +0 -1
  433. package/utils/accounts.ts +0 -7
@@ -86,6 +86,7 @@ export declare const pgn: {
86
86
  readonly transaction: {
87
87
  exclude: [] | undefined;
88
88
  format: (args: ({
89
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
89
90
  r?: `0x${string}`;
90
91
  s?: `0x${string}`;
91
92
  v?: `0x${string}`;
@@ -94,7 +95,6 @@ export declare const pgn: {
94
95
  maxFeePerBlobGas?: `0x${string}` | undefined;
95
96
  maxFeePerGas?: `0x${string}` | undefined;
96
97
  maxPriorityFeePerGas?: `0x${string}` | undefined;
97
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
98
98
  to?: `0x${string}` | null;
99
99
  from?: `0x${string}`;
100
100
  gas?: `0x${string}`;
@@ -109,6 +109,7 @@ export declare const pgn: {
109
109
  transactionIndex?: `0x${string}` | null;
110
110
  chainId?: `0x${string}` | undefined;
111
111
  } & {
112
+ type: "0x0";
112
113
  r: `0x${string}`;
113
114
  s: `0x${string}`;
114
115
  v: `0x${string}`;
@@ -117,7 +118,6 @@ export declare const pgn: {
117
118
  maxFeePerBlobGas?: undefined;
118
119
  maxFeePerGas?: undefined;
119
120
  maxPriorityFeePerGas?: undefined;
120
- type: "0x0";
121
121
  to: `0x${string}` | null;
122
122
  from: `0x${string}`;
123
123
  gas: `0x${string}`;
@@ -136,6 +136,7 @@ export declare const pgn: {
136
136
  mint?: undefined;
137
137
  sourceHash?: undefined;
138
138
  }) | ({
139
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
139
140
  r?: `0x${string}`;
140
141
  s?: `0x${string}`;
141
142
  v?: `0x${string}`;
@@ -144,7 +145,6 @@ export declare const pgn: {
144
145
  maxFeePerBlobGas?: `0x${string}` | undefined;
145
146
  maxFeePerGas?: `0x${string}` | undefined;
146
147
  maxPriorityFeePerGas?: `0x${string}` | undefined;
147
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
148
148
  to?: `0x${string}` | null;
149
149
  from?: `0x${string}`;
150
150
  gas?: `0x${string}`;
@@ -164,6 +164,7 @@ export declare const pgn: {
164
164
  sourceHash: `0x${string}`;
165
165
  type: "0x7e";
166
166
  }) | ({
167
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
167
168
  r?: `0x${string}`;
168
169
  s?: `0x${string}`;
169
170
  v?: `0x${string}`;
@@ -171,7 +172,6 @@ export declare const pgn: {
171
172
  maxFeePerBlobGas?: `0x${string}` | undefined;
172
173
  maxFeePerGas?: `0x${string}` | undefined;
173
174
  maxPriorityFeePerGas?: `0x${string}` | undefined;
174
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
175
175
  to?: `0x${string}` | null;
176
176
  from?: `0x${string}`;
177
177
  gas?: `0x${string}`;
@@ -187,6 +187,7 @@ export declare const pgn: {
187
187
  chainId?: `0x${string}` | undefined;
188
188
  yParity?: `0x${string}` | undefined;
189
189
  } & {
190
+ type: "0x0";
190
191
  r: `0x${string}`;
191
192
  s: `0x${string}`;
192
193
  v: `0x${string}`;
@@ -195,7 +196,6 @@ export declare const pgn: {
195
196
  maxFeePerBlobGas?: undefined;
196
197
  maxFeePerGas?: undefined;
197
198
  maxPriorityFeePerGas?: undefined;
198
- type: "0x0";
199
199
  to: `0x${string}` | null;
200
200
  from: `0x${string}`;
201
201
  gas: `0x${string}`;
@@ -214,6 +214,7 @@ export declare const pgn: {
214
214
  mint?: undefined;
215
215
  sourceHash?: undefined;
216
216
  }) | ({
217
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
217
218
  r?: `0x${string}`;
218
219
  s?: `0x${string}`;
219
220
  v?: `0x${string}`;
@@ -221,7 +222,6 @@ export declare const pgn: {
221
222
  maxFeePerBlobGas?: `0x${string}` | undefined;
222
223
  maxFeePerGas?: `0x${string}` | undefined;
223
224
  maxPriorityFeePerGas?: `0x${string}` | undefined;
224
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
225
225
  to?: `0x${string}` | null;
226
226
  from?: `0x${string}`;
227
227
  gas?: `0x${string}`;
@@ -237,6 +237,7 @@ export declare const pgn: {
237
237
  chainId?: `0x${string}` | undefined;
238
238
  yParity?: `0x${string}` | undefined;
239
239
  } & {
240
+ type: "0x1";
240
241
  r: `0x${string}`;
241
242
  s: `0x${string}`;
242
243
  v: `0x${string}`;
@@ -244,7 +245,6 @@ export declare const pgn: {
244
245
  maxFeePerBlobGas?: undefined;
245
246
  maxFeePerGas?: undefined;
246
247
  maxPriorityFeePerGas?: undefined;
247
- type: "0x1";
248
248
  to: `0x${string}` | null;
249
249
  from: `0x${string}`;
250
250
  gas: `0x${string}`;
@@ -264,6 +264,7 @@ export declare const pgn: {
264
264
  mint?: undefined;
265
265
  sourceHash?: undefined;
266
266
  }) | ({
267
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
267
268
  r?: `0x${string}`;
268
269
  s?: `0x${string}`;
269
270
  v?: `0x${string}`;
@@ -271,7 +272,6 @@ export declare const pgn: {
271
272
  maxFeePerBlobGas?: `0x${string}` | undefined;
272
273
  maxFeePerGas?: `0x${string}` | undefined;
273
274
  maxPriorityFeePerGas?: `0x${string}` | undefined;
274
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
275
275
  to?: `0x${string}` | null;
276
276
  from?: `0x${string}`;
277
277
  gas?: `0x${string}`;
@@ -287,6 +287,7 @@ export declare const pgn: {
287
287
  chainId?: `0x${string}` | undefined;
288
288
  yParity?: `0x${string}` | undefined;
289
289
  } & {
290
+ type: "0x2";
290
291
  r: `0x${string}`;
291
292
  s: `0x${string}`;
292
293
  v: `0x${string}`;
@@ -294,7 +295,6 @@ export declare const pgn: {
294
295
  maxFeePerBlobGas?: undefined;
295
296
  maxFeePerGas: `0x${string}`;
296
297
  maxPriorityFeePerGas: `0x${string}`;
297
- type: "0x2";
298
298
  to: `0x${string}` | null;
299
299
  from: `0x${string}`;
300
300
  gas: `0x${string}`;
@@ -314,6 +314,7 @@ export declare const pgn: {
314
314
  mint?: undefined;
315
315
  sourceHash?: undefined;
316
316
  }) | ({
317
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
317
318
  r?: `0x${string}`;
318
319
  s?: `0x${string}`;
319
320
  v?: `0x${string}`;
@@ -321,7 +322,6 @@ export declare const pgn: {
321
322
  maxFeePerBlobGas?: `0x${string}` | undefined;
322
323
  maxFeePerGas?: `0x${string}` | undefined;
323
324
  maxPriorityFeePerGas?: `0x${string}` | undefined;
324
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
325
325
  to?: `0x${string}` | null;
326
326
  from?: `0x${string}`;
327
327
  gas?: `0x${string}`;
@@ -342,6 +342,7 @@ export declare const pgn: {
342
342
  sourceHash: `0x${string}`;
343
343
  type: "0x7e";
344
344
  }) | ({
345
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
345
346
  r?: `0x${string}`;
346
347
  s?: `0x${string}`;
347
348
  v?: `0x${string}`;
@@ -349,7 +350,6 @@ export declare const pgn: {
349
350
  maxFeePerBlobGas?: `0x${string}` | undefined;
350
351
  maxFeePerGas?: `0x${string}` | undefined;
351
352
  maxPriorityFeePerGas?: `0x${string}` | undefined;
352
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
353
353
  to?: `0x${string}` | null;
354
354
  from?: `0x${string}`;
355
355
  gas?: `0x${string}`;
@@ -365,6 +365,7 @@ export declare const pgn: {
365
365
  chainId?: `0x${string}` | undefined;
366
366
  yParity?: `0x${string}` | undefined;
367
367
  } & {
368
+ type: "0x0";
368
369
  r: `0x${string}`;
369
370
  s: `0x${string}`;
370
371
  v: `0x${string}`;
@@ -373,7 +374,6 @@ export declare const pgn: {
373
374
  maxFeePerBlobGas?: undefined;
374
375
  maxFeePerGas?: undefined;
375
376
  maxPriorityFeePerGas?: undefined;
376
- type: "0x0";
377
377
  to: `0x${string}` | null;
378
378
  from: `0x${string}`;
379
379
  gas: `0x${string}`;
@@ -392,6 +392,7 @@ export declare const pgn: {
392
392
  mint?: undefined;
393
393
  sourceHash?: undefined;
394
394
  }) | ({
395
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
395
396
  r?: `0x${string}`;
396
397
  s?: `0x${string}`;
397
398
  v?: `0x${string}`;
@@ -399,7 +400,6 @@ export declare const pgn: {
399
400
  maxFeePerBlobGas?: `0x${string}` | undefined;
400
401
  maxFeePerGas?: `0x${string}` | undefined;
401
402
  maxPriorityFeePerGas?: `0x${string}` | undefined;
402
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
403
403
  to?: `0x${string}` | null;
404
404
  from?: `0x${string}`;
405
405
  gas?: `0x${string}`;
@@ -415,6 +415,7 @@ export declare const pgn: {
415
415
  chainId?: `0x${string}` | undefined;
416
416
  yParity?: `0x${string}` | undefined;
417
417
  } & {
418
+ type: "0x1";
418
419
  r: `0x${string}`;
419
420
  s: `0x${string}`;
420
421
  v: `0x${string}`;
@@ -422,7 +423,6 @@ export declare const pgn: {
422
423
  maxFeePerBlobGas?: undefined;
423
424
  maxFeePerGas?: undefined;
424
425
  maxPriorityFeePerGas?: undefined;
425
- type: "0x1";
426
426
  to: `0x${string}` | null;
427
427
  from: `0x${string}`;
428
428
  gas: `0x${string}`;
@@ -442,6 +442,7 @@ export declare const pgn: {
442
442
  mint?: undefined;
443
443
  sourceHash?: undefined;
444
444
  }) | ({
445
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
445
446
  r?: `0x${string}`;
446
447
  s?: `0x${string}`;
447
448
  v?: `0x${string}`;
@@ -449,7 +450,6 @@ export declare const pgn: {
449
450
  maxFeePerBlobGas?: `0x${string}` | undefined;
450
451
  maxFeePerGas?: `0x${string}` | undefined;
451
452
  maxPriorityFeePerGas?: `0x${string}` | undefined;
452
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
453
453
  to?: `0x${string}` | null;
454
454
  from?: `0x${string}`;
455
455
  gas?: `0x${string}`;
@@ -465,6 +465,7 @@ export declare const pgn: {
465
465
  chainId?: `0x${string}` | undefined;
466
466
  yParity?: `0x${string}` | undefined;
467
467
  } & {
468
+ type: "0x2";
468
469
  r: `0x${string}`;
469
470
  s: `0x${string}`;
470
471
  v: `0x${string}`;
@@ -472,7 +473,6 @@ export declare const pgn: {
472
473
  maxFeePerBlobGas?: undefined;
473
474
  maxFeePerGas: `0x${string}`;
474
475
  maxPriorityFeePerGas: `0x${string}`;
475
- type: "0x2";
476
476
  to: `0x${string}` | null;
477
477
  from: `0x${string}`;
478
478
  gas: `0x${string}`;
@@ -492,6 +492,7 @@ export declare const pgn: {
492
492
  mint?: undefined;
493
493
  sourceHash?: undefined;
494
494
  }) | ({
495
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
495
496
  r?: `0x${string}`;
496
497
  s?: `0x${string}`;
497
498
  v?: `0x${string}`;
@@ -499,7 +500,6 @@ export declare const pgn: {
499
500
  maxFeePerBlobGas?: `0x${string}` | undefined;
500
501
  maxFeePerGas?: `0x${string}` | undefined;
501
502
  maxPriorityFeePerGas?: `0x${string}` | undefined;
502
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
503
503
  to?: `0x${string}` | null;
504
504
  from?: `0x${string}`;
505
505
  gas?: `0x${string}`;
@@ -520,6 +520,7 @@ export declare const pgn: {
520
520
  sourceHash: `0x${string}`;
521
521
  type: "0x7e";
522
522
  }) | ({
523
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
523
524
  r?: `0x${string}`;
524
525
  s?: `0x${string}`;
525
526
  v?: `0x${string}`;
@@ -527,7 +528,6 @@ export declare const pgn: {
527
528
  maxFeePerBlobGas?: `0x${string}` | undefined;
528
529
  maxFeePerGas?: `0x${string}` | undefined;
529
530
  maxPriorityFeePerGas?: `0x${string}` | undefined;
530
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
531
531
  to?: `0x${string}` | null;
532
532
  from?: `0x${string}`;
533
533
  gas?: `0x${string}`;
@@ -543,6 +543,7 @@ export declare const pgn: {
543
543
  chainId?: `0x${string}` | undefined;
544
544
  yParity?: `0x${string}` | undefined;
545
545
  } & {
546
+ type: "0x0";
546
547
  r: `0x${string}`;
547
548
  s: `0x${string}`;
548
549
  v: `0x${string}`;
@@ -551,7 +552,6 @@ export declare const pgn: {
551
552
  maxFeePerBlobGas?: undefined;
552
553
  maxFeePerGas?: undefined;
553
554
  maxPriorityFeePerGas?: undefined;
554
- type: "0x0";
555
555
  to: `0x${string}` | null;
556
556
  from: `0x${string}`;
557
557
  gas: `0x${string}`;
@@ -570,6 +570,7 @@ export declare const pgn: {
570
570
  mint?: undefined;
571
571
  sourceHash?: undefined;
572
572
  }) | ({
573
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
573
574
  r?: `0x${string}`;
574
575
  s?: `0x${string}`;
575
576
  v?: `0x${string}`;
@@ -577,7 +578,6 @@ export declare const pgn: {
577
578
  maxFeePerBlobGas?: `0x${string}` | undefined;
578
579
  maxFeePerGas?: `0x${string}` | undefined;
579
580
  maxPriorityFeePerGas?: `0x${string}` | undefined;
580
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
581
581
  to?: `0x${string}` | null;
582
582
  from?: `0x${string}`;
583
583
  gas?: `0x${string}`;
@@ -593,6 +593,7 @@ export declare const pgn: {
593
593
  chainId?: `0x${string}` | undefined;
594
594
  yParity?: `0x${string}` | undefined;
595
595
  } & {
596
+ type: "0x1";
596
597
  r: `0x${string}`;
597
598
  s: `0x${string}`;
598
599
  v: `0x${string}`;
@@ -600,7 +601,6 @@ export declare const pgn: {
600
601
  maxFeePerBlobGas?: undefined;
601
602
  maxFeePerGas?: undefined;
602
603
  maxPriorityFeePerGas?: undefined;
603
- type: "0x1";
604
604
  to: `0x${string}` | null;
605
605
  from: `0x${string}`;
606
606
  gas: `0x${string}`;
@@ -620,6 +620,7 @@ export declare const pgn: {
620
620
  mint?: undefined;
621
621
  sourceHash?: undefined;
622
622
  }) | ({
623
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
623
624
  r?: `0x${string}`;
624
625
  s?: `0x${string}`;
625
626
  v?: `0x${string}`;
@@ -627,7 +628,6 @@ export declare const pgn: {
627
628
  maxFeePerBlobGas?: `0x${string}` | undefined;
628
629
  maxFeePerGas?: `0x${string}` | undefined;
629
630
  maxPriorityFeePerGas?: `0x${string}` | undefined;
630
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
631
631
  to?: `0x${string}` | null;
632
632
  from?: `0x${string}`;
633
633
  gas?: `0x${string}`;
@@ -643,6 +643,7 @@ export declare const pgn: {
643
643
  chainId?: `0x${string}` | undefined;
644
644
  yParity?: `0x${string}` | undefined;
645
645
  } & {
646
+ type: "0x2";
646
647
  r: `0x${string}`;
647
648
  s: `0x${string}`;
648
649
  v: `0x${string}`;
@@ -650,7 +651,6 @@ export declare const pgn: {
650
651
  maxFeePerBlobGas?: undefined;
651
652
  maxFeePerGas: `0x${string}`;
652
653
  maxPriorityFeePerGas: `0x${string}`;
653
- type: "0x2";
654
654
  to: `0x${string}` | null;
655
655
  from: `0x${string}`;
656
656
  gas: `0x${string}`;
@@ -670,6 +670,7 @@ export declare const pgn: {
670
670
  mint?: undefined;
671
671
  sourceHash?: undefined;
672
672
  }) | ({
673
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
673
674
  r?: `0x${string}`;
674
675
  s?: `0x${string}`;
675
676
  v?: `0x${string}`;
@@ -677,7 +678,6 @@ export declare const pgn: {
677
678
  maxFeePerBlobGas?: `0x${string}` | undefined;
678
679
  maxFeePerGas?: `0x${string}` | undefined;
679
680
  maxPriorityFeePerGas?: `0x${string}` | undefined;
680
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
681
681
  to?: `0x${string}` | null;
682
682
  from?: `0x${string}`;
683
683
  gas?: `0x${string}`;
@@ -693,6 +693,7 @@ export declare const pgn: {
693
693
  chainId?: `0x${string}` | undefined;
694
694
  yParity?: `0x${string}` | undefined;
695
695
  } & {
696
+ type: "0x3";
696
697
  r: `0x${string}`;
697
698
  s: `0x${string}`;
698
699
  v: `0x${string}`;
@@ -700,7 +701,6 @@ export declare const pgn: {
700
701
  maxFeePerBlobGas: `0x${string}`;
701
702
  maxFeePerGas: `0x${string}`;
702
703
  maxPriorityFeePerGas: `0x${string}`;
703
- type: "0x3";
704
704
  to: `0x${string}` | null;
705
705
  from: `0x${string}`;
706
706
  gas: `0x${string}`;
@@ -720,6 +720,7 @@ export declare const pgn: {
720
720
  mint?: undefined;
721
721
  sourceHash?: undefined;
722
722
  }) | ({
723
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
723
724
  r?: `0x${string}`;
724
725
  s?: `0x${string}`;
725
726
  v?: `0x${string}`;
@@ -727,7 +728,6 @@ export declare const pgn: {
727
728
  maxFeePerBlobGas?: `0x${string}` | undefined;
728
729
  maxFeePerGas?: `0x${string}` | undefined;
729
730
  maxPriorityFeePerGas?: `0x${string}` | undefined;
730
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
731
731
  to?: `0x${string}` | null;
732
732
  from?: `0x${string}`;
733
733
  gas?: `0x${string}`;