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
package/_cjs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;AACA,mCAoCgB;AAlBd,iHAAA,sBAAsB,OAAA;AACtB,mHAAA,wBAAwB,OAAA;AACxB,oHAAA,yBAAyB,OAAA;AACzB,8GAAA,mBAAmB,OAAA;AACnB,uHAAA,4BAA4B,OAAA;AAC5B,uHAAA,4BAA4B,OAAA;AAC5B,+GAAA,oBAAoB,OAAA;AACpB,gHAAA,qBAAqB,OAAA;AACrB,kHAAA,uBAAuB,OAAA;AACvB,gHAAA,qBAAqB,OAAA;AACrB,sHAAA,2BAA2B,OAAA;AAC3B,wHAAA,6BAA6B,OAAA;AAC7B,2GAAA,gBAAgB,OAAA;AAChB,gHAAA,qBAAqB,OAAA;AACrB,mGAAA,QAAQ,OAAA;AACR,uGAAA,YAAY,OAAA;AACZ,4GAAA,iBAAiB,OAAA;AACjB,6GAAA,kBAAkB,OAAA;AAGpB,2DAKiC;AAJ/B,6GAAA,WAAW,OAAA;AAgbb,6DAOkC;AAFhC,+GAAA,YAAY,OAAA;AACZ,4GAAA,SAAS,OAAA;AAEX,4DAKuC;AADrC,mGAAA,MAAM,OAAA;AAER,gEAKyC;AADvC,uGAAA,QAAQ,OAAA;AAEV,wDAKqC;AADnC,+FAAA,IAAI,OAAA;AAEN,yEAKwC;AADtC,2HAAA,kBAAkB,OAAA;AAEpB,qEAKsC;AADpC,uHAAA,gBAAgB,OAAA;AAElB,4DAGuC;AADrC,0GAAA,aAAa,OAAA;AAEf,wDAGqC;AADnC,sGAAA,WAAW,OAAA;AAEb,4DAGuC;AADrC,0GAAA,aAAa,OAAA;AAEf,8EAKgD;AAD9C,qHAAA,eAAe,OAAA;AAEjB,yEAKwC;AADtC,2HAAA,kBAAkB,OAAA;AAEpB,kEAK0C;AADxC,yGAAA,SAAS,OAAA;AAEX,+CAM4B;AAL1B,wGAAA,aAA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GAAA,SAAS,OAAA;AAC3C,+EAIgD;AAD9C,uHAAA,gBAAgB,OAAA;AAElB,4DAGmC;AADjC,2GAAA,UAAU,OAAA;AAEZ,qFAGmD;AADjD,6HAAA,mBAAmB,OAAA;AAErB,uFAKoD;AAJlD,+HAAA,oBAAoB,OAAA;AAKtB,gDAA+D;AAAlC,+FAAA,IAAI,OAAA;AACjC,kDAO8B;AAH5B,iGAAA,KAAK,OAAA;AACL,sGAAA,UAAU,OAAA;AACV,oGAAA,QAAQ,OAAA;AAEV,qDAAyE;AAAvC,yGAAA,SAAS,OAAA;AAC3C,gDAI6B;AAD3B,+FAAA,IAAI,OAAA;AAEN,qDAS6B;AAJ3B,kHAAA,kBAAkB,OAAA;AAClB,iHAAA,iBAAiB,OAAA;AACjB,+GAAA,eAAe,OAAA;AACf,uHAAA,uBAAuB,OAAA"}
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.minimalTrustedSetupPath = exports.mainnetTrustedSetupPath = void 0;
3
+ exports.mainnetTrustedSetupPath = void 0;
4
4
  const node_path_1 = require("node:path");
5
5
  exports.mainnetTrustedSetupPath = (0, node_path_1.resolve)(__dirname, '../trusted-setups/mainnet.json');
6
- exports.minimalTrustedSetupPath = (0, node_path_1.resolve)(__dirname, '../trusted-setups/mainnet.json');
7
6
  //# sourceMappingURL=trustedSetups.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"trustedSetups.js","sourceRoot":"","sources":["../../node/trustedSetups.ts"],"names":[],"mappings":";;;AAAA,yCAAmC;AAEtB,QAAA,uBAAuB,GAAG,IAAA,mBAAO,EAC5C,SAAS,EACT,gCAAgC,CACjC,CAAA;AAEY,QAAA,uBAAuB,GAAG,IAAA,mBAAO,EAC5C,SAAS,EACT,gCAAgC,CACjC,CAAA"}
1
+ {"version":3,"file":"trustedSetups.js","sourceRoot":"","sources":["../../node/trustedSetups.ts"],"names":[],"mappings":";;;AAAA,yCAAmC;AAEtB,QAAA,uBAAuB,GAAG,IAAA,mBAAO,EAC5C,SAAS,EACT,gCAAgC,CACjC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.portalAbi = exports.portal2Abi = exports.disputeGameFactoryAbi = exports.l2ToL1MessagePasserAbi = exports.l1StandardBridgeAbi = exports.l2OutputOracleAbi = exports.gasPriceOracleAbi = void 0;
3
+ exports.portalAbi = exports.portal2Abi = exports.disputeGameFactoryAbi = exports.l2ToL1MessagePasserAbi = exports.l2OutputOracleAbi = exports.gasPriceOracleAbi = void 0;
4
4
  exports.gasPriceOracleAbi = [
5
5
  { inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
6
6
  {
@@ -332,463 +332,6 @@ exports.l2OutputOracleAbi = [
332
332
  type: 'function',
333
333
  },
334
334
  ];
335
- exports.l1StandardBridgeAbi = [
336
- { stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
337
- {
338
- type: 'event',
339
- anonymous: false,
340
- inputs: [
341
- {
342
- name: 'localToken',
343
- internalType: 'address',
344
- type: 'address',
345
- indexed: true,
346
- },
347
- {
348
- name: 'remoteToken',
349
- internalType: 'address',
350
- type: 'address',
351
- indexed: true,
352
- },
353
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
354
- { name: 'to', internalType: 'address', type: 'address', indexed: false },
355
- {
356
- name: 'amount',
357
- internalType: 'uint256',
358
- type: 'uint256',
359
- indexed: false,
360
- },
361
- {
362
- name: 'extraData',
363
- internalType: 'bytes',
364
- type: 'bytes',
365
- indexed: false,
366
- },
367
- ],
368
- name: 'ERC20BridgeFinalized',
369
- },
370
- {
371
- type: 'event',
372
- anonymous: false,
373
- inputs: [
374
- {
375
- name: 'localToken',
376
- internalType: 'address',
377
- type: 'address',
378
- indexed: true,
379
- },
380
- {
381
- name: 'remoteToken',
382
- internalType: 'address',
383
- type: 'address',
384
- indexed: true,
385
- },
386
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
387
- { name: 'to', internalType: 'address', type: 'address', indexed: false },
388
- {
389
- name: 'amount',
390
- internalType: 'uint256',
391
- type: 'uint256',
392
- indexed: false,
393
- },
394
- {
395
- name: 'extraData',
396
- internalType: 'bytes',
397
- type: 'bytes',
398
- indexed: false,
399
- },
400
- ],
401
- name: 'ERC20BridgeInitiated',
402
- },
403
- {
404
- type: 'event',
405
- anonymous: false,
406
- inputs: [
407
- {
408
- name: 'l1Token',
409
- internalType: 'address',
410
- type: 'address',
411
- indexed: true,
412
- },
413
- {
414
- name: 'l2Token',
415
- internalType: 'address',
416
- type: 'address',
417
- indexed: true,
418
- },
419
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
420
- { name: 'to', internalType: 'address', type: 'address', indexed: false },
421
- {
422
- name: 'amount',
423
- internalType: 'uint256',
424
- type: 'uint256',
425
- indexed: false,
426
- },
427
- {
428
- name: 'extraData',
429
- internalType: 'bytes',
430
- type: 'bytes',
431
- indexed: false,
432
- },
433
- ],
434
- name: 'ERC20DepositInitiated',
435
- },
436
- {
437
- type: 'event',
438
- anonymous: false,
439
- inputs: [
440
- {
441
- name: 'l1Token',
442
- internalType: 'address',
443
- type: 'address',
444
- indexed: true,
445
- },
446
- {
447
- name: 'l2Token',
448
- internalType: 'address',
449
- type: 'address',
450
- indexed: true,
451
- },
452
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
453
- { name: 'to', internalType: 'address', type: 'address', indexed: false },
454
- {
455
- name: 'amount',
456
- internalType: 'uint256',
457
- type: 'uint256',
458
- indexed: false,
459
- },
460
- {
461
- name: 'extraData',
462
- internalType: 'bytes',
463
- type: 'bytes',
464
- indexed: false,
465
- },
466
- ],
467
- name: 'ERC20WithdrawalFinalized',
468
- },
469
- {
470
- type: 'event',
471
- anonymous: false,
472
- inputs: [
473
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
474
- { name: 'to', internalType: 'address', type: 'address', indexed: true },
475
- {
476
- name: 'amount',
477
- internalType: 'uint256',
478
- type: 'uint256',
479
- indexed: false,
480
- },
481
- {
482
- name: 'extraData',
483
- internalType: 'bytes',
484
- type: 'bytes',
485
- indexed: false,
486
- },
487
- ],
488
- name: 'ETHBridgeFinalized',
489
- },
490
- {
491
- type: 'event',
492
- anonymous: false,
493
- inputs: [
494
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
495
- { name: 'to', internalType: 'address', type: 'address', indexed: true },
496
- {
497
- name: 'amount',
498
- internalType: 'uint256',
499
- type: 'uint256',
500
- indexed: false,
501
- },
502
- {
503
- name: 'extraData',
504
- internalType: 'bytes',
505
- type: 'bytes',
506
- indexed: false,
507
- },
508
- ],
509
- name: 'ETHBridgeInitiated',
510
- },
511
- {
512
- type: 'event',
513
- anonymous: false,
514
- inputs: [
515
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
516
- { name: 'to', internalType: 'address', type: 'address', indexed: true },
517
- {
518
- name: 'amount',
519
- internalType: 'uint256',
520
- type: 'uint256',
521
- indexed: false,
522
- },
523
- {
524
- name: 'extraData',
525
- internalType: 'bytes',
526
- type: 'bytes',
527
- indexed: false,
528
- },
529
- ],
530
- name: 'ETHDepositInitiated',
531
- },
532
- {
533
- type: 'event',
534
- anonymous: false,
535
- inputs: [
536
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
537
- { name: 'to', internalType: 'address', type: 'address', indexed: true },
538
- {
539
- name: 'amount',
540
- internalType: 'uint256',
541
- type: 'uint256',
542
- indexed: false,
543
- },
544
- {
545
- name: 'extraData',
546
- internalType: 'bytes',
547
- type: 'bytes',
548
- indexed: false,
549
- },
550
- ],
551
- name: 'ETHWithdrawalFinalized',
552
- },
553
- {
554
- type: 'event',
555
- anonymous: false,
556
- inputs: [
557
- { name: 'version', internalType: 'uint8', type: 'uint8', indexed: false },
558
- ],
559
- name: 'Initialized',
560
- },
561
- {
562
- stateMutability: 'view',
563
- type: 'function',
564
- inputs: [],
565
- name: 'MESSENGER',
566
- outputs: [
567
- {
568
- name: '',
569
- internalType: 'contract CrossDomainMessenger',
570
- type: 'address',
571
- },
572
- ],
573
- },
574
- {
575
- stateMutability: 'view',
576
- type: 'function',
577
- inputs: [],
578
- name: 'OTHER_BRIDGE',
579
- outputs: [
580
- { name: '', internalType: 'contract StandardBridge', type: 'address' },
581
- ],
582
- },
583
- {
584
- stateMutability: 'nonpayable',
585
- type: 'function',
586
- inputs: [
587
- { name: '_localToken', internalType: 'address', type: 'address' },
588
- { name: '_remoteToken', internalType: 'address', type: 'address' },
589
- { name: '_amount', internalType: 'uint256', type: 'uint256' },
590
- { name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
591
- { name: '_extraData', internalType: 'bytes', type: 'bytes' },
592
- ],
593
- name: 'bridgeERC20',
594
- outputs: [],
595
- },
596
- {
597
- stateMutability: 'nonpayable',
598
- type: 'function',
599
- inputs: [
600
- { name: '_localToken', internalType: 'address', type: 'address' },
601
- { name: '_remoteToken', internalType: 'address', type: 'address' },
602
- { name: '_to', internalType: 'address', type: 'address' },
603
- { name: '_amount', internalType: 'uint256', type: 'uint256' },
604
- { name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
605
- { name: '_extraData', internalType: 'bytes', type: 'bytes' },
606
- ],
607
- name: 'bridgeERC20To',
608
- outputs: [],
609
- },
610
- {
611
- stateMutability: 'payable',
612
- type: 'function',
613
- inputs: [
614
- { name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
615
- { name: '_extraData', internalType: 'bytes', type: 'bytes' },
616
- ],
617
- name: 'bridgeETH',
618
- outputs: [],
619
- },
620
- {
621
- stateMutability: 'payable',
622
- type: 'function',
623
- inputs: [
624
- { name: '_to', internalType: 'address', type: 'address' },
625
- { name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
626
- { name: '_extraData', internalType: 'bytes', type: 'bytes' },
627
- ],
628
- name: 'bridgeETHTo',
629
- outputs: [],
630
- },
631
- {
632
- stateMutability: 'nonpayable',
633
- type: 'function',
634
- inputs: [
635
- { name: '_l1Token', internalType: 'address', type: 'address' },
636
- { name: '_l2Token', internalType: 'address', type: 'address' },
637
- { name: '_amount', internalType: 'uint256', type: 'uint256' },
638
- { name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
639
- { name: '_extraData', internalType: 'bytes', type: 'bytes' },
640
- ],
641
- name: 'depositERC20',
642
- outputs: [],
643
- },
644
- {
645
- stateMutability: 'nonpayable',
646
- type: 'function',
647
- inputs: [
648
- { name: '_l1Token', internalType: 'address', type: 'address' },
649
- { name: '_l2Token', internalType: 'address', type: 'address' },
650
- { name: '_to', internalType: 'address', type: 'address' },
651
- { name: '_amount', internalType: 'uint256', type: 'uint256' },
652
- { name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
653
- { name: '_extraData', internalType: 'bytes', type: 'bytes' },
654
- ],
655
- name: 'depositERC20To',
656
- outputs: [],
657
- },
658
- {
659
- stateMutability: 'payable',
660
- type: 'function',
661
- inputs: [
662
- { name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
663
- { name: '_extraData', internalType: 'bytes', type: 'bytes' },
664
- ],
665
- name: 'depositETH',
666
- outputs: [],
667
- },
668
- {
669
- stateMutability: 'payable',
670
- type: 'function',
671
- inputs: [
672
- { name: '_to', internalType: 'address', type: 'address' },
673
- { name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
674
- { name: '_extraData', internalType: 'bytes', type: 'bytes' },
675
- ],
676
- name: 'depositETHTo',
677
- outputs: [],
678
- },
679
- {
680
- stateMutability: 'view',
681
- type: 'function',
682
- inputs: [
683
- { name: '', internalType: 'address', type: 'address' },
684
- { name: '', internalType: 'address', type: 'address' },
685
- ],
686
- name: 'deposits',
687
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
688
- },
689
- {
690
- stateMutability: 'nonpayable',
691
- type: 'function',
692
- inputs: [
693
- { name: '_localToken', internalType: 'address', type: 'address' },
694
- { name: '_remoteToken', internalType: 'address', type: 'address' },
695
- { name: '_from', internalType: 'address', type: 'address' },
696
- { name: '_to', internalType: 'address', type: 'address' },
697
- { name: '_amount', internalType: 'uint256', type: 'uint256' },
698
- { name: '_extraData', internalType: 'bytes', type: 'bytes' },
699
- ],
700
- name: 'finalizeBridgeERC20',
701
- outputs: [],
702
- },
703
- {
704
- stateMutability: 'payable',
705
- type: 'function',
706
- inputs: [
707
- { name: '_from', internalType: 'address', type: 'address' },
708
- { name: '_to', internalType: 'address', type: 'address' },
709
- { name: '_amount', internalType: 'uint256', type: 'uint256' },
710
- { name: '_extraData', internalType: 'bytes', type: 'bytes' },
711
- ],
712
- name: 'finalizeBridgeETH',
713
- outputs: [],
714
- },
715
- {
716
- stateMutability: 'nonpayable',
717
- type: 'function',
718
- inputs: [
719
- { name: '_l1Token', internalType: 'address', type: 'address' },
720
- { name: '_l2Token', internalType: 'address', type: 'address' },
721
- { name: '_from', internalType: 'address', type: 'address' },
722
- { name: '_to', internalType: 'address', type: 'address' },
723
- { name: '_amount', internalType: 'uint256', type: 'uint256' },
724
- { name: '_extraData', internalType: 'bytes', type: 'bytes' },
725
- ],
726
- name: 'finalizeERC20Withdrawal',
727
- outputs: [],
728
- },
729
- {
730
- stateMutability: 'payable',
731
- type: 'function',
732
- inputs: [
733
- { name: '_from', internalType: 'address', type: 'address' },
734
- { name: '_to', internalType: 'address', type: 'address' },
735
- { name: '_amount', internalType: 'uint256', type: 'uint256' },
736
- { name: '_extraData', internalType: 'bytes', type: 'bytes' },
737
- ],
738
- name: 'finalizeETHWithdrawal',
739
- outputs: [],
740
- },
741
- {
742
- stateMutability: 'nonpayable',
743
- type: 'function',
744
- inputs: [
745
- {
746
- name: '_messenger',
747
- internalType: 'contract CrossDomainMessenger',
748
- type: 'address',
749
- },
750
- ],
751
- name: 'initialize',
752
- outputs: [],
753
- },
754
- {
755
- stateMutability: 'view',
756
- type: 'function',
757
- inputs: [],
758
- name: 'l2TokenBridge',
759
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
760
- },
761
- {
762
- stateMutability: 'view',
763
- type: 'function',
764
- inputs: [],
765
- name: 'messenger',
766
- outputs: [
767
- {
768
- name: '',
769
- internalType: 'contract CrossDomainMessenger',
770
- type: 'address',
771
- },
772
- ],
773
- },
774
- {
775
- stateMutability: 'view',
776
- type: 'function',
777
- inputs: [],
778
- name: 'otherBridge',
779
- outputs: [
780
- { name: '', internalType: 'contract StandardBridge', type: 'address' },
781
- ],
782
- },
783
- {
784
- stateMutability: 'view',
785
- type: 'function',
786
- inputs: [],
787
- name: 'version',
788
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
789
- },
790
- { stateMutability: 'payable', type: 'receive' },
791
- ];
792
335
  exports.l2ToL1MessagePasserAbi = [
793
336
  { inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
794
337
  {