@aa-sdk/core 4.0.0-alpha.9 → 4.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (416) hide show
  1. package/dist/esm/abis/EntryPointAbi_v7.js +1 -0
  2. package/dist/esm/abis/EntryPointAbi_v7.js.map +1 -1
  3. package/dist/esm/account/smartContractAccount.d.ts +50 -1
  4. package/dist/esm/account/smartContractAccount.js +111 -2
  5. package/dist/esm/account/smartContractAccount.js.map +1 -1
  6. package/dist/esm/actions/smartAccount/buildUserOperation.d.ts +23 -0
  7. package/dist/esm/actions/smartAccount/buildUserOperation.js +23 -0
  8. package/dist/esm/actions/smartAccount/buildUserOperation.js.map +1 -1
  9. package/dist/esm/actions/smartAccount/buildUserOperationFromTx.d.ts +39 -0
  10. package/dist/esm/actions/smartAccount/buildUserOperationFromTx.js +39 -0
  11. package/dist/esm/actions/smartAccount/buildUserOperationFromTx.js.map +1 -1
  12. package/dist/esm/actions/smartAccount/buildUserOperationFromTxs.d.ts +54 -0
  13. package/dist/esm/actions/smartAccount/buildUserOperationFromTxs.js +55 -0
  14. package/dist/esm/actions/smartAccount/buildUserOperationFromTxs.js.map +1 -1
  15. package/dist/esm/actions/smartAccount/checkGasSponsorshipEligibility.d.ts +28 -0
  16. package/dist/esm/actions/smartAccount/checkGasSponsorshipEligibility.js +28 -0
  17. package/dist/esm/actions/smartAccount/checkGasSponsorshipEligibility.js.map +1 -1
  18. package/dist/esm/actions/smartAccount/dropAndReplaceUserOperation.d.ts +22 -0
  19. package/dist/esm/actions/smartAccount/dropAndReplaceUserOperation.js +27 -6
  20. package/dist/esm/actions/smartAccount/dropAndReplaceUserOperation.js.map +1 -1
  21. package/dist/esm/actions/smartAccount/estimateUserOperationGas.d.ts +13 -0
  22. package/dist/esm/actions/smartAccount/estimateUserOperationGas.js +13 -0
  23. package/dist/esm/actions/smartAccount/estimateUserOperationGas.js.map +1 -1
  24. package/dist/esm/actions/smartAccount/internal/initUserOperation.d.ts +13 -0
  25. package/dist/esm/actions/smartAccount/internal/initUserOperation.js +14 -1
  26. package/dist/esm/actions/smartAccount/internal/initUserOperation.js.map +1 -1
  27. package/dist/esm/actions/smartAccount/internal/runMiddlewareStack.js +2 -1
  28. package/dist/esm/actions/smartAccount/internal/runMiddlewareStack.js.map +1 -1
  29. package/dist/esm/actions/smartAccount/sendTransaction.d.ts +24 -0
  30. package/dist/esm/actions/smartAccount/sendTransaction.js +24 -0
  31. package/dist/esm/actions/smartAccount/sendTransaction.js.map +1 -1
  32. package/dist/esm/actions/smartAccount/sendTransactions.d.ts +23 -0
  33. package/dist/esm/actions/smartAccount/sendTransactions.js +23 -0
  34. package/dist/esm/actions/smartAccount/sendTransactions.js.map +1 -1
  35. package/dist/esm/actions/smartAccount/sendUserOperation.d.ts +21 -0
  36. package/dist/esm/actions/smartAccount/sendUserOperation.js +21 -0
  37. package/dist/esm/actions/smartAccount/sendUserOperation.js.map +1 -1
  38. package/dist/esm/actions/smartAccount/types.d.ts +14 -0
  39. package/dist/esm/actions/smartAccount/types.js +1 -0
  40. package/dist/esm/actions/smartAccount/types.js.map +1 -1
  41. package/dist/esm/actions/smartAccount/waitForUserOperationTransacation.d.ts +24 -0
  42. package/dist/esm/actions/smartAccount/waitForUserOperationTransacation.js +24 -0
  43. package/dist/esm/actions/smartAccount/waitForUserOperationTransacation.js.map +1 -1
  44. package/dist/esm/client/bundlerClient.d.ts +21 -0
  45. package/dist/esm/client/bundlerClient.js +32 -0
  46. package/dist/esm/client/bundlerClient.js.map +1 -1
  47. package/dist/esm/client/decorators/bundlerClient.d.ts +41 -0
  48. package/dist/esm/client/decorators/bundlerClient.js +10 -0
  49. package/dist/esm/client/decorators/bundlerClient.js.map +1 -1
  50. package/dist/esm/client/decorators/smartAccountClient.d.ts +8 -0
  51. package/dist/esm/client/decorators/smartAccountClient.js +12 -1
  52. package/dist/esm/client/decorators/smartAccountClient.js.map +1 -1
  53. package/dist/esm/client/isSmartAccountClient.d.ts +16 -0
  54. package/dist/esm/client/isSmartAccountClient.js +16 -0
  55. package/dist/esm/client/isSmartAccountClient.js.map +1 -1
  56. package/dist/esm/client/schema.d.ts +12 -0
  57. package/dist/esm/client/schema.js +14 -0
  58. package/dist/esm/client/schema.js.map +1 -1
  59. package/dist/esm/client/smartAccountClient.js +53 -0
  60. package/dist/esm/client/smartAccountClient.js.map +1 -1
  61. package/dist/esm/client/types.js +1 -0
  62. package/dist/esm/client/types.js.map +1 -1
  63. package/dist/esm/ens/utils.d.ts +45 -0
  64. package/dist/esm/ens/utils.js +49 -0
  65. package/dist/esm/ens/utils.js.map +1 -1
  66. package/dist/esm/entrypoint/index.d.ts +14 -0
  67. package/dist/esm/entrypoint/index.js +30 -0
  68. package/dist/esm/entrypoint/index.js.map +1 -1
  69. package/dist/esm/entrypoint/types.d.ts +17 -0
  70. package/dist/esm/errors/account.d.ts +87 -4
  71. package/dist/esm/errors/account.js +88 -4
  72. package/dist/esm/errors/account.js.map +1 -1
  73. package/dist/esm/errors/base.d.ts +5 -0
  74. package/dist/esm/errors/base.js +5 -0
  75. package/dist/esm/errors/base.js.map +1 -1
  76. package/dist/esm/errors/client.d.ts +24 -0
  77. package/dist/esm/errors/client.js +24 -0
  78. package/dist/esm/errors/client.js.map +1 -1
  79. package/dist/esm/errors/entrypoint.d.ts +18 -0
  80. package/dist/esm/errors/entrypoint.js +18 -0
  81. package/dist/esm/errors/entrypoint.js.map +1 -1
  82. package/dist/esm/errors/signer.d.ts +8 -0
  83. package/dist/esm/errors/signer.js +8 -0
  84. package/dist/esm/errors/signer.js.map +1 -1
  85. package/dist/esm/errors/transaction.d.ts +14 -1
  86. package/dist/esm/errors/transaction.js +14 -1
  87. package/dist/esm/errors/transaction.js.map +1 -1
  88. package/dist/esm/errors/useroperation.d.ts +25 -0
  89. package/dist/esm/errors/useroperation.js +26 -0
  90. package/dist/esm/errors/useroperation.js.map +1 -1
  91. package/dist/esm/index.d.ts +0 -1
  92. package/dist/esm/index.js +0 -1
  93. package/dist/esm/index.js.map +1 -1
  94. package/dist/esm/logger.d.ts +91 -0
  95. package/dist/esm/logger.js +91 -0
  96. package/dist/esm/logger.js.map +1 -1
  97. package/dist/esm/middleware/actions.d.ts +14 -0
  98. package/dist/esm/middleware/actions.js +7 -0
  99. package/dist/esm/middleware/actions.js.map +1 -1
  100. package/dist/esm/middleware/defaults/feeEstimator.d.ts +20 -0
  101. package/dist/esm/middleware/defaults/feeEstimator.js +28 -0
  102. package/dist/esm/middleware/defaults/feeEstimator.js.map +1 -1
  103. package/dist/esm/middleware/defaults/gasEstimator.d.ts +8 -0
  104. package/dist/esm/middleware/defaults/gasEstimator.js +8 -0
  105. package/dist/esm/middleware/defaults/gasEstimator.js.map +1 -1
  106. package/dist/esm/middleware/defaults/paymasterAndData.d.ts +8 -0
  107. package/dist/esm/middleware/defaults/paymasterAndData.js +8 -0
  108. package/dist/esm/middleware/defaults/paymasterAndData.js.map +1 -1
  109. package/dist/esm/middleware/defaults/userOpSigner.d.ts +10 -0
  110. package/dist/esm/middleware/defaults/userOpSigner.js +10 -0
  111. package/dist/esm/middleware/defaults/userOpSigner.js.map +1 -1
  112. package/dist/esm/middleware/erc7677middleware.d.ts +21 -0
  113. package/dist/esm/middleware/erc7677middleware.js +23 -0
  114. package/dist/esm/middleware/erc7677middleware.js.map +1 -1
  115. package/dist/esm/middleware/noopMiddleware.d.ts +6 -0
  116. package/dist/esm/middleware/noopMiddleware.js +6 -0
  117. package/dist/esm/middleware/noopMiddleware.js.map +1 -1
  118. package/dist/esm/middleware/types.js +1 -0
  119. package/dist/esm/middleware/types.js.map +1 -1
  120. package/dist/esm/signer/local-account.d.ts +96 -1
  121. package/dist/esm/signer/local-account.js +97 -2
  122. package/dist/esm/signer/local-account.js.map +1 -1
  123. package/dist/esm/signer/schema.d.ts +14 -0
  124. package/dist/esm/signer/schema.js +14 -0
  125. package/dist/esm/signer/schema.js.map +1 -1
  126. package/dist/esm/signer/types.d.ts +12 -0
  127. package/dist/esm/signer/types.js +1 -0
  128. package/dist/esm/signer/types.js.map +1 -1
  129. package/dist/esm/signer/utils.d.ts +20 -0
  130. package/dist/esm/signer/utils.js +27 -0
  131. package/dist/esm/signer/utils.js.map +1 -1
  132. package/dist/esm/signer/wallet-client.d.ts +92 -0
  133. package/dist/esm/signer/wallet-client.js +92 -0
  134. package/dist/esm/signer/wallet-client.js.map +1 -1
  135. package/dist/esm/transport/split.d.ts +32 -0
  136. package/dist/esm/transport/split.js +32 -0
  137. package/dist/esm/transport/split.js.map +1 -1
  138. package/dist/esm/types.d.ts +17 -0
  139. package/dist/esm/types.js +1 -0
  140. package/dist/esm/types.js.map +1 -1
  141. package/dist/esm/utils/bigint.d.ts +45 -0
  142. package/dist/esm/utils/bigint.js +46 -0
  143. package/dist/esm/utils/bigint.js.map +1 -1
  144. package/dist/esm/utils/bytes.d.ts +9 -0
  145. package/dist/esm/utils/bytes.js +10 -1
  146. package/dist/esm/utils/bytes.js.map +1 -1
  147. package/dist/esm/utils/index.d.ts +86 -0
  148. package/dist/esm/utils/index.js +86 -0
  149. package/dist/esm/utils/index.js.map +1 -1
  150. package/dist/esm/utils/schema.d.ts +3 -0
  151. package/dist/esm/utils/schema.js +9 -0
  152. package/dist/esm/utils/schema.js.map +1 -1
  153. package/dist/esm/utils/stateOverride.js +2 -0
  154. package/dist/esm/utils/stateOverride.js.map +1 -1
  155. package/dist/esm/utils/types.d.ts +22 -0
  156. package/dist/esm/utils/types.js +1 -0
  157. package/dist/esm/utils/types.js.map +1 -1
  158. package/dist/esm/utils/userop.d.ts +79 -0
  159. package/dist/esm/utils/userop.js +83 -0
  160. package/dist/esm/utils/userop.js.map +1 -1
  161. package/dist/esm/version.d.ts +1 -1
  162. package/dist/esm/version.js +3 -1
  163. package/dist/esm/version.js.map +1 -1
  164. package/dist/types/account/smartContractAccount.d.ts +1 -1
  165. package/dist/types/account/smartContractAccount.d.ts.map +1 -1
  166. package/dist/types/actions/smartAccount/dropAndReplaceUserOperation.d.ts.map +1 -1
  167. package/dist/types/client/smartAccountClient.d.ts.map +1 -1
  168. package/dist/types/index.d.ts +0 -1
  169. package/dist/types/index.d.ts.map +1 -1
  170. package/dist/types/transport/split.d.ts +1 -1
  171. package/dist/types/version.d.ts +1 -1
  172. package/dist/types/version.d.ts.map +1 -1
  173. package/package.json +10 -11
  174. package/src/account/smartContractAccount.ts +3 -3
  175. package/src/actions/smartAccount/dropAndReplaceUserOperation.ts +10 -10
  176. package/src/actions/smartAccount/internal/initUserOperation.ts +1 -1
  177. package/src/client/smartAccountClient.ts +7 -0
  178. package/src/index.ts +0 -1
  179. package/src/transport/split.ts +1 -1
  180. package/src/version.ts +1 -1
  181. package/dist/cjs/abis/EntryPointAbi_v6.d.ts +0 -1018
  182. package/dist/cjs/abis/EntryPointAbi_v6.js +0 -1313
  183. package/dist/cjs/abis/EntryPointAbi_v6.js.map +0 -1
  184. package/dist/cjs/abis/EntryPointAbi_v7.d.ts +0 -775
  185. package/dist/cjs/abis/EntryPointAbi_v7.js +0 -661
  186. package/dist/cjs/abis/EntryPointAbi_v7.js.map +0 -1
  187. package/dist/cjs/abis/SimpleAccountAbi_v6.d.ts +0 -405
  188. package/dist/cjs/abis/SimpleAccountAbi_v6.js +0 -528
  189. package/dist/cjs/abis/SimpleAccountAbi_v6.js.map +0 -1
  190. package/dist/cjs/abis/SimpleAccountAbi_v7.d.ts +0 -410
  191. package/dist/cjs/abis/SimpleAccountAbi_v7.js +0 -538
  192. package/dist/cjs/abis/SimpleAccountAbi_v7.js.map +0 -1
  193. package/dist/cjs/abis/SimpleAccountFactoryAbi.d.ts +0 -55
  194. package/dist/cjs/abis/SimpleAccountFactoryAbi.js +0 -78
  195. package/dist/cjs/abis/SimpleAccountFactoryAbi.js.map +0 -1
  196. package/dist/cjs/account/smartContractAccount.d.ts +0 -74
  197. package/dist/cjs/account/smartContractAccount.js +0 -180
  198. package/dist/cjs/account/smartContractAccount.js.map +0 -1
  199. package/dist/cjs/actions/bundler/estimateUserOperationGas.d.ts +0 -8
  200. package/dist/cjs/actions/bundler/estimateUserOperationGas.js +0 -18
  201. package/dist/cjs/actions/bundler/estimateUserOperationGas.js.map +0 -1
  202. package/dist/cjs/actions/bundler/getSupportedEntryPoints.d.ts +0 -3
  203. package/dist/cjs/actions/bundler/getSupportedEntryPoints.js +0 -11
  204. package/dist/cjs/actions/bundler/getSupportedEntryPoints.js.map +0 -1
  205. package/dist/cjs/actions/bundler/getUserOperationByHash.d.ts +0 -6
  206. package/dist/cjs/actions/bundler/getUserOperationByHash.js +0 -11
  207. package/dist/cjs/actions/bundler/getUserOperationByHash.js.map +0 -1
  208. package/dist/cjs/actions/bundler/getUserOperationReceipt.d.ts +0 -6
  209. package/dist/cjs/actions/bundler/getUserOperationReceipt.js +0 -11
  210. package/dist/cjs/actions/bundler/getUserOperationReceipt.js.map +0 -1
  211. package/dist/cjs/actions/bundler/sendRawUserOperation.d.ts +0 -7
  212. package/dist/cjs/actions/bundler/sendRawUserOperation.js +0 -11
  213. package/dist/cjs/actions/bundler/sendRawUserOperation.js.map +0 -1
  214. package/dist/cjs/actions/smartAccount/buildUserOperation.d.ts +0 -5
  215. package/dist/cjs/actions/smartAccount/buildUserOperation.js +0 -25
  216. package/dist/cjs/actions/smartAccount/buildUserOperation.js.map +0 -1
  217. package/dist/cjs/actions/smartAccount/buildUserOperationFromTx.d.ts +0 -5
  218. package/dist/cjs/actions/smartAccount/buildUserOperationFromTx.js +0 -39
  219. package/dist/cjs/actions/smartAccount/buildUserOperationFromTx.js.map +0 -1
  220. package/dist/cjs/actions/smartAccount/buildUserOperationFromTxs.d.ts +0 -4
  221. package/dist/cjs/actions/smartAccount/buildUserOperationFromTxs.js +0 -62
  222. package/dist/cjs/actions/smartAccount/buildUserOperationFromTxs.js.map +0 -1
  223. package/dist/cjs/actions/smartAccount/checkGasSponsorshipEligibility.d.ts +0 -4
  224. package/dist/cjs/actions/smartAccount/checkGasSponsorshipEligibility.js +0 -34
  225. package/dist/cjs/actions/smartAccount/checkGasSponsorshipEligibility.js.map +0 -1
  226. package/dist/cjs/actions/smartAccount/dropAndReplaceUserOperation.d.ts +0 -5
  227. package/dist/cjs/actions/smartAccount/dropAndReplaceUserOperation.js +0 -64
  228. package/dist/cjs/actions/smartAccount/dropAndReplaceUserOperation.js.map +0 -1
  229. package/dist/cjs/actions/smartAccount/estimateUserOperationGas.d.ts +0 -5
  230. package/dist/cjs/actions/smartAccount/estimateUserOperationGas.js +0 -23
  231. package/dist/cjs/actions/smartAccount/estimateUserOperationGas.js.map +0 -1
  232. package/dist/cjs/actions/smartAccount/getAddress.d.ts +0 -4
  233. package/dist/cjs/actions/smartAccount/getAddress.js +0 -13
  234. package/dist/cjs/actions/smartAccount/getAddress.js.map +0 -1
  235. package/dist/cjs/actions/smartAccount/internal/initUserOperation.d.ts +0 -7
  236. package/dist/cjs/actions/smartAccount/internal/initUserOperation.js +0 -42
  237. package/dist/cjs/actions/smartAccount/internal/initUserOperation.js.map +0 -1
  238. package/dist/cjs/actions/smartAccount/internal/runMiddlewareStack.d.ts +0 -10
  239. package/dist/cjs/actions/smartAccount/internal/runMiddlewareStack.js +0 -47
  240. package/dist/cjs/actions/smartAccount/internal/runMiddlewareStack.js.map +0 -1
  241. package/dist/cjs/actions/smartAccount/internal/sendUserOperation.d.ts +0 -10
  242. package/dist/cjs/actions/smartAccount/internal/sendUserOperation.js +0 -28
  243. package/dist/cjs/actions/smartAccount/internal/sendUserOperation.js.map +0 -1
  244. package/dist/cjs/actions/smartAccount/sendTransaction.d.ts +0 -5
  245. package/dist/cjs/actions/smartAccount/sendTransaction.js +0 -35
  246. package/dist/cjs/actions/smartAccount/sendTransaction.js.map +0 -1
  247. package/dist/cjs/actions/smartAccount/sendTransactions.d.ts +0 -4
  248. package/dist/cjs/actions/smartAccount/sendTransactions.js +0 -36
  249. package/dist/cjs/actions/smartAccount/sendTransactions.js.map +0 -1
  250. package/dist/cjs/actions/smartAccount/sendUserOperation.d.ts +0 -5
  251. package/dist/cjs/actions/smartAccount/sendUserOperation.js +0 -31
  252. package/dist/cjs/actions/smartAccount/sendUserOperation.js.map +0 -1
  253. package/dist/cjs/actions/smartAccount/signMessage.d.ts +0 -6
  254. package/dist/cjs/actions/smartAccount/signMessage.js +0 -12
  255. package/dist/cjs/actions/smartAccount/signMessage.js.map +0 -1
  256. package/dist/cjs/actions/smartAccount/signMessageWith6492.d.ts +0 -4
  257. package/dist/cjs/actions/smartAccount/signMessageWith6492.js +0 -12
  258. package/dist/cjs/actions/smartAccount/signMessageWith6492.js.map +0 -1
  259. package/dist/cjs/actions/smartAccount/signTypedData.d.ts +0 -10
  260. package/dist/cjs/actions/smartAccount/signTypedData.js +0 -12
  261. package/dist/cjs/actions/smartAccount/signTypedData.js.map +0 -1
  262. package/dist/cjs/actions/smartAccount/signTypedDataWith6492.d.ts +0 -6
  263. package/dist/cjs/actions/smartAccount/signTypedDataWith6492.js +0 -12
  264. package/dist/cjs/actions/smartAccount/signTypedDataWith6492.js.map +0 -1
  265. package/dist/cjs/actions/smartAccount/signUserOperation.d.ts +0 -5
  266. package/dist/cjs/actions/smartAccount/signUserOperation.js +0 -30
  267. package/dist/cjs/actions/smartAccount/signUserOperation.js.map +0 -1
  268. package/dist/cjs/actions/smartAccount/types.d.ts +0 -42
  269. package/dist/cjs/actions/smartAccount/types.js +0 -3
  270. package/dist/cjs/actions/smartAccount/types.js.map +0 -1
  271. package/dist/cjs/actions/smartAccount/upgradeAccount.d.ts +0 -4
  272. package/dist/cjs/actions/smartAccount/upgradeAccount.js +0 -38
  273. package/dist/cjs/actions/smartAccount/upgradeAccount.js.map +0 -1
  274. package/dist/cjs/actions/smartAccount/waitForUserOperationTransacation.d.ts +0 -3
  275. package/dist/cjs/actions/smartAccount/waitForUserOperationTransacation.js +0 -36
  276. package/dist/cjs/actions/smartAccount/waitForUserOperationTransacation.js.map +0 -1
  277. package/dist/cjs/client/bundlerClient.d.ts +0 -10
  278. package/dist/cjs/client/bundlerClient.js +0 -51
  279. package/dist/cjs/client/bundlerClient.js.map +0 -1
  280. package/dist/cjs/client/decorators/bundlerClient.d.ts +0 -41
  281. package/dist/cjs/client/decorators/bundlerClient.js +0 -17
  282. package/dist/cjs/client/decorators/bundlerClient.js.map +0 -1
  283. package/dist/cjs/client/decorators/smartAccountClient.d.ts +0 -35
  284. package/dist/cjs/client/decorators/smartAccountClient.js +0 -43
  285. package/dist/cjs/client/decorators/smartAccountClient.js.map +0 -1
  286. package/dist/cjs/client/isSmartAccountClient.d.ts +0 -5
  287. package/dist/cjs/client/isSmartAccountClient.js +0 -18
  288. package/dist/cjs/client/isSmartAccountClient.js.map +0 -1
  289. package/dist/cjs/client/schema.d.ts +0 -767
  290. package/dist/cjs/client/schema.js +0 -63
  291. package/dist/cjs/client/schema.js.map +0 -1
  292. package/dist/cjs/client/smartAccountClient.d.ts +0 -33
  293. package/dist/cjs/client/smartAccountClient.js +0 -93
  294. package/dist/cjs/client/smartAccountClient.js.map +0 -1
  295. package/dist/cjs/client/types.d.ts +0 -21
  296. package/dist/cjs/client/types.js +0 -3
  297. package/dist/cjs/client/types.js.map +0 -1
  298. package/dist/cjs/ens/utils.d.ts +0 -6
  299. package/dist/cjs/ens/utils.js +0 -53
  300. package/dist/cjs/ens/utils.js.map +0 -1
  301. package/dist/cjs/entrypoint/0.6.d.ts +0 -1029
  302. package/dist/cjs/entrypoint/0.6.js +0 -49
  303. package/dist/cjs/entrypoint/0.6.js.map +0 -1
  304. package/dist/cjs/entrypoint/0.7.d.ts +0 -792
  305. package/dist/cjs/entrypoint/0.7.js +0 -88
  306. package/dist/cjs/entrypoint/0.7.js.map +0 -1
  307. package/dist/cjs/entrypoint/index.d.ts +0 -8
  308. package/dist/cjs/entrypoint/index.js +0 -53
  309. package/dist/cjs/entrypoint/index.js.map +0 -1
  310. package/dist/cjs/entrypoint/types.d.ts +0 -46
  311. package/dist/cjs/entrypoint/types.js +0 -3
  312. package/dist/cjs/entrypoint/types.js.map +0 -1
  313. package/dist/cjs/errors/account.d.ts +0 -47
  314. package/dist/cjs/errors/account.js +0 -140
  315. package/dist/cjs/errors/account.js.map +0 -1
  316. package/dist/cjs/errors/base.d.ts +0 -18
  317. package/dist/cjs/errors/base.js +0 -39
  318. package/dist/cjs/errors/base.js.map +0 -1
  319. package/dist/cjs/errors/client.d.ts +0 -14
  320. package/dist/cjs/errors/client.js +0 -44
  321. package/dist/cjs/errors/client.js.map +0 -1
  322. package/dist/cjs/errors/entrypoint.d.ts +0 -10
  323. package/dist/cjs/errors/entrypoint.js +0 -32
  324. package/dist/cjs/errors/entrypoint.js.map +0 -1
  325. package/dist/cjs/errors/signer.d.ts +0 -5
  326. package/dist/cjs/errors/signer.js +0 -20
  327. package/dist/cjs/errors/signer.js.map +0 -1
  328. package/dist/cjs/errors/transaction.d.ts +0 -10
  329. package/dist/cjs/errors/transaction.js +0 -29
  330. package/dist/cjs/errors/transaction.js.map +0 -1
  331. package/dist/cjs/errors/useroperation.d.ts +0 -10
  332. package/dist/cjs/errors/useroperation.js +0 -34
  333. package/dist/cjs/errors/useroperation.js.map +0 -1
  334. package/dist/cjs/index.d.ts +0 -60
  335. package/dist/cjs/index.js +0 -170
  336. package/dist/cjs/index.js.map +0 -1
  337. package/dist/cjs/logger.d.ts +0 -20
  338. package/dist/cjs/logger.js +0 -60
  339. package/dist/cjs/logger.js.map +0 -1
  340. package/dist/cjs/middleware/actions.d.ts +0 -12
  341. package/dist/cjs/middleware/actions.js +0 -21
  342. package/dist/cjs/middleware/actions.js.map +0 -1
  343. package/dist/cjs/middleware/defaults/feeEstimator.d.ts +0 -3
  344. package/dist/cjs/middleware/defaults/feeEstimator.js +0 -23
  345. package/dist/cjs/middleware/defaults/feeEstimator.js.map +0 -1
  346. package/dist/cjs/middleware/defaults/gasEstimator.d.ts +0 -3
  347. package/dist/cjs/middleware/defaults/gasEstimator.js +0 -28
  348. package/dist/cjs/middleware/defaults/gasEstimator.js.map +0 -1
  349. package/dist/cjs/middleware/defaults/paymasterAndData.d.ts +0 -2
  350. package/dist/cjs/middleware/defaults/paymasterAndData.js +0 -12
  351. package/dist/cjs/middleware/defaults/paymasterAndData.js.map +0 -1
  352. package/dist/cjs/middleware/defaults/userOpSigner.d.ts +0 -2
  353. package/dist/cjs/middleware/defaults/userOpSigner.js +0 -26
  354. package/dist/cjs/middleware/defaults/userOpSigner.js.map +0 -1
  355. package/dist/cjs/middleware/erc7677middleware.d.ts +0 -40
  356. package/dist/cjs/middleware/erc7677middleware.js +0 -77
  357. package/dist/cjs/middleware/erc7677middleware.js.map +0 -1
  358. package/dist/cjs/middleware/noopMiddleware.d.ts +0 -3
  359. package/dist/cjs/middleware/noopMiddleware.js +0 -8
  360. package/dist/cjs/middleware/noopMiddleware.js.map +0 -1
  361. package/dist/cjs/middleware/types.d.ts +0 -22
  362. package/dist/cjs/middleware/types.js +0 -3
  363. package/dist/cjs/middleware/types.js.map +0 -1
  364. package/dist/cjs/package.json +0 -1
  365. package/dist/cjs/signer/local-account.d.ts +0 -219
  366. package/dist/cjs/signer/local-account.js +0 -56
  367. package/dist/cjs/signer/local-account.js.map +0 -1
  368. package/dist/cjs/signer/schema.d.ts +0 -4
  369. package/dist/cjs/signer/schema.js +0 -16
  370. package/dist/cjs/signer/schema.js.map +0 -1
  371. package/dist/cjs/signer/types.d.ts +0 -15
  372. package/dist/cjs/signer/types.js +0 -3
  373. package/dist/cjs/signer/types.js.map +0 -1
  374. package/dist/cjs/signer/utils.d.ts +0 -7
  375. package/dist/cjs/signer/utils.js +0 -16
  376. package/dist/cjs/signer/utils.js.map +0 -1
  377. package/dist/cjs/signer/wallet-client.d.ts +0 -217
  378. package/dist/cjs/signer/wallet-client.js +0 -58
  379. package/dist/cjs/signer/wallet-client.js.map +0 -1
  380. package/dist/cjs/transport/split.d.ts +0 -9
  381. package/dist/cjs/transport/split.js +0 -26
  382. package/dist/cjs/transport/split.js.map +0 -1
  383. package/dist/cjs/types.d.ts +0 -158
  384. package/dist/cjs/types.js +0 -3
  385. package/dist/cjs/types.js.map +0 -1
  386. package/dist/cjs/utils/bigint.d.ts +0 -10
  387. package/dist/cjs/utils/bigint.js +0 -55
  388. package/dist/cjs/utils/bigint.js.map +0 -1
  389. package/dist/cjs/utils/bytes.d.ts +0 -7
  390. package/dist/cjs/utils/bytes.js +0 -11
  391. package/dist/cjs/utils/bytes.js.map +0 -1
  392. package/dist/cjs/utils/defaults.d.ts +0 -4
  393. package/dist/cjs/utils/defaults.js +0 -19
  394. package/dist/cjs/utils/defaults.js.map +0 -1
  395. package/dist/cjs/utils/index.d.ts +0 -19
  396. package/dist/cjs/utils/index.js +0 -95
  397. package/dist/cjs/utils/index.js.map +0 -1
  398. package/dist/cjs/utils/schema.d.ts +0 -25
  399. package/dist/cjs/utils/schema.js +0 -35
  400. package/dist/cjs/utils/schema.js.map +0 -1
  401. package/dist/cjs/utils/stateOverride.d.ts +0 -4
  402. package/dist/cjs/utils/stateOverride.js +0 -52
  403. package/dist/cjs/utils/stateOverride.js.map +0 -1
  404. package/dist/cjs/utils/testUtils.d.ts +0 -6
  405. package/dist/cjs/utils/testUtils.js +0 -33
  406. package/dist/cjs/utils/testUtils.js.map +0 -1
  407. package/dist/cjs/utils/types.d.ts +0 -16
  408. package/dist/cjs/utils/types.js +0 -3
  409. package/dist/cjs/utils/types.js.map +0 -1
  410. package/dist/cjs/utils/userop.d.ts +0 -49
  411. package/dist/cjs/utils/userop.js +0 -75
  412. package/dist/cjs/utils/userop.js.map +0 -1
  413. package/dist/cjs/version.d.ts +0 -1
  414. package/dist/cjs/version.js +0 -5
  415. package/dist/cjs/version.js.map +0 -1
  416. package/dist/esm/package.json +0 -1
@@ -1,1313 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EntryPointAbi_v6 = void 0;
4
- exports.EntryPointAbi_v6 = [
5
- {
6
- inputs: [
7
- {
8
- internalType: "uint256",
9
- name: "preOpGas",
10
- type: "uint256",
11
- },
12
- {
13
- internalType: "uint256",
14
- name: "paid",
15
- type: "uint256",
16
- },
17
- {
18
- internalType: "uint48",
19
- name: "validAfter",
20
- type: "uint48",
21
- },
22
- {
23
- internalType: "uint48",
24
- name: "validUntil",
25
- type: "uint48",
26
- },
27
- {
28
- internalType: "bool",
29
- name: "targetSuccess",
30
- type: "bool",
31
- },
32
- {
33
- internalType: "bytes",
34
- name: "targetResult",
35
- type: "bytes",
36
- },
37
- ],
38
- name: "ExecutionResult",
39
- type: "error",
40
- },
41
- {
42
- inputs: [
43
- {
44
- internalType: "uint256",
45
- name: "opIndex",
46
- type: "uint256",
47
- },
48
- {
49
- internalType: "string",
50
- name: "reason",
51
- type: "string",
52
- },
53
- ],
54
- name: "FailedOp",
55
- type: "error",
56
- },
57
- {
58
- inputs: [
59
- {
60
- internalType: "address",
61
- name: "sender",
62
- type: "address",
63
- },
64
- ],
65
- name: "SenderAddressResult",
66
- type: "error",
67
- },
68
- {
69
- inputs: [
70
- {
71
- internalType: "address",
72
- name: "aggregator",
73
- type: "address",
74
- },
75
- ],
76
- name: "SignatureValidationFailed",
77
- type: "error",
78
- },
79
- {
80
- inputs: [
81
- {
82
- components: [
83
- {
84
- internalType: "uint256",
85
- name: "preOpGas",
86
- type: "uint256",
87
- },
88
- {
89
- internalType: "uint256",
90
- name: "prefund",
91
- type: "uint256",
92
- },
93
- {
94
- internalType: "bool",
95
- name: "sigFailed",
96
- type: "bool",
97
- },
98
- {
99
- internalType: "uint48",
100
- name: "validAfter",
101
- type: "uint48",
102
- },
103
- {
104
- internalType: "uint48",
105
- name: "validUntil",
106
- type: "uint48",
107
- },
108
- {
109
- internalType: "bytes",
110
- name: "paymasterContext",
111
- type: "bytes",
112
- },
113
- ],
114
- internalType: "struct IEntryPoint.ReturnInfo",
115
- name: "returnInfo",
116
- type: "tuple",
117
- },
118
- {
119
- components: [
120
- {
121
- internalType: "uint256",
122
- name: "stake",
123
- type: "uint256",
124
- },
125
- {
126
- internalType: "uint256",
127
- name: "unstakeDelaySec",
128
- type: "uint256",
129
- },
130
- ],
131
- internalType: "struct IStakeManager.StakeInfo",
132
- name: "senderInfo",
133
- type: "tuple",
134
- },
135
- {
136
- components: [
137
- {
138
- internalType: "uint256",
139
- name: "stake",
140
- type: "uint256",
141
- },
142
- {
143
- internalType: "uint256",
144
- name: "unstakeDelaySec",
145
- type: "uint256",
146
- },
147
- ],
148
- internalType: "struct IStakeManager.StakeInfo",
149
- name: "factoryInfo",
150
- type: "tuple",
151
- },
152
- {
153
- components: [
154
- {
155
- internalType: "uint256",
156
- name: "stake",
157
- type: "uint256",
158
- },
159
- {
160
- internalType: "uint256",
161
- name: "unstakeDelaySec",
162
- type: "uint256",
163
- },
164
- ],
165
- internalType: "struct IStakeManager.StakeInfo",
166
- name: "paymasterInfo",
167
- type: "tuple",
168
- },
169
- ],
170
- name: "ValidationResult",
171
- type: "error",
172
- },
173
- {
174
- inputs: [
175
- {
176
- components: [
177
- {
178
- internalType: "uint256",
179
- name: "preOpGas",
180
- type: "uint256",
181
- },
182
- {
183
- internalType: "uint256",
184
- name: "prefund",
185
- type: "uint256",
186
- },
187
- {
188
- internalType: "bool",
189
- name: "sigFailed",
190
- type: "bool",
191
- },
192
- {
193
- internalType: "uint48",
194
- name: "validAfter",
195
- type: "uint48",
196
- },
197
- {
198
- internalType: "uint48",
199
- name: "validUntil",
200
- type: "uint48",
201
- },
202
- {
203
- internalType: "bytes",
204
- name: "paymasterContext",
205
- type: "bytes",
206
- },
207
- ],
208
- internalType: "struct IEntryPoint.ReturnInfo",
209
- name: "returnInfo",
210
- type: "tuple",
211
- },
212
- {
213
- components: [
214
- {
215
- internalType: "uint256",
216
- name: "stake",
217
- type: "uint256",
218
- },
219
- {
220
- internalType: "uint256",
221
- name: "unstakeDelaySec",
222
- type: "uint256",
223
- },
224
- ],
225
- internalType: "struct IStakeManager.StakeInfo",
226
- name: "senderInfo",
227
- type: "tuple",
228
- },
229
- {
230
- components: [
231
- {
232
- internalType: "uint256",
233
- name: "stake",
234
- type: "uint256",
235
- },
236
- {
237
- internalType: "uint256",
238
- name: "unstakeDelaySec",
239
- type: "uint256",
240
- },
241
- ],
242
- internalType: "struct IStakeManager.StakeInfo",
243
- name: "factoryInfo",
244
- type: "tuple",
245
- },
246
- {
247
- components: [
248
- {
249
- internalType: "uint256",
250
- name: "stake",
251
- type: "uint256",
252
- },
253
- {
254
- internalType: "uint256",
255
- name: "unstakeDelaySec",
256
- type: "uint256",
257
- },
258
- ],
259
- internalType: "struct IStakeManager.StakeInfo",
260
- name: "paymasterInfo",
261
- type: "tuple",
262
- },
263
- {
264
- components: [
265
- {
266
- internalType: "address",
267
- name: "aggregator",
268
- type: "address",
269
- },
270
- {
271
- components: [
272
- {
273
- internalType: "uint256",
274
- name: "stake",
275
- type: "uint256",
276
- },
277
- {
278
- internalType: "uint256",
279
- name: "unstakeDelaySec",
280
- type: "uint256",
281
- },
282
- ],
283
- internalType: "struct IStakeManager.StakeInfo",
284
- name: "stakeInfo",
285
- type: "tuple",
286
- },
287
- ],
288
- internalType: "struct IEntryPoint.AggregatorStakeInfo",
289
- name: "aggregatorInfo",
290
- type: "tuple",
291
- },
292
- ],
293
- name: "ValidationResultWithAggregation",
294
- type: "error",
295
- },
296
- {
297
- anonymous: false,
298
- inputs: [
299
- {
300
- indexed: true,
301
- internalType: "bytes32",
302
- name: "userOpHash",
303
- type: "bytes32",
304
- },
305
- {
306
- indexed: true,
307
- internalType: "address",
308
- name: "sender",
309
- type: "address",
310
- },
311
- {
312
- indexed: false,
313
- internalType: "address",
314
- name: "factory",
315
- type: "address",
316
- },
317
- {
318
- indexed: false,
319
- internalType: "address",
320
- name: "paymaster",
321
- type: "address",
322
- },
323
- ],
324
- name: "AccountDeployed",
325
- type: "event",
326
- },
327
- {
328
- anonymous: false,
329
- inputs: [],
330
- name: "BeforeExecution",
331
- type: "event",
332
- },
333
- {
334
- anonymous: false,
335
- inputs: [
336
- {
337
- indexed: true,
338
- internalType: "address",
339
- name: "account",
340
- type: "address",
341
- },
342
- {
343
- indexed: false,
344
- internalType: "uint256",
345
- name: "totalDeposit",
346
- type: "uint256",
347
- },
348
- ],
349
- name: "Deposited",
350
- type: "event",
351
- },
352
- {
353
- anonymous: false,
354
- inputs: [
355
- {
356
- indexed: true,
357
- internalType: "address",
358
- name: "aggregator",
359
- type: "address",
360
- },
361
- ],
362
- name: "SignatureAggregatorChanged",
363
- type: "event",
364
- },
365
- {
366
- anonymous: false,
367
- inputs: [
368
- {
369
- indexed: true,
370
- internalType: "address",
371
- name: "account",
372
- type: "address",
373
- },
374
- {
375
- indexed: false,
376
- internalType: "uint256",
377
- name: "totalStaked",
378
- type: "uint256",
379
- },
380
- {
381
- indexed: false,
382
- internalType: "uint256",
383
- name: "unstakeDelaySec",
384
- type: "uint256",
385
- },
386
- ],
387
- name: "StakeLocked",
388
- type: "event",
389
- },
390
- {
391
- anonymous: false,
392
- inputs: [
393
- {
394
- indexed: true,
395
- internalType: "address",
396
- name: "account",
397
- type: "address",
398
- },
399
- {
400
- indexed: false,
401
- internalType: "uint256",
402
- name: "withdrawTime",
403
- type: "uint256",
404
- },
405
- ],
406
- name: "StakeUnlocked",
407
- type: "event",
408
- },
409
- {
410
- anonymous: false,
411
- inputs: [
412
- {
413
- indexed: true,
414
- internalType: "address",
415
- name: "account",
416
- type: "address",
417
- },
418
- {
419
- indexed: false,
420
- internalType: "address",
421
- name: "withdrawAddress",
422
- type: "address",
423
- },
424
- {
425
- indexed: false,
426
- internalType: "uint256",
427
- name: "amount",
428
- type: "uint256",
429
- },
430
- ],
431
- name: "StakeWithdrawn",
432
- type: "event",
433
- },
434
- {
435
- anonymous: false,
436
- inputs: [
437
- {
438
- indexed: true,
439
- internalType: "bytes32",
440
- name: "userOpHash",
441
- type: "bytes32",
442
- },
443
- {
444
- indexed: true,
445
- internalType: "address",
446
- name: "sender",
447
- type: "address",
448
- },
449
- {
450
- indexed: true,
451
- internalType: "address",
452
- name: "paymaster",
453
- type: "address",
454
- },
455
- {
456
- indexed: false,
457
- internalType: "uint256",
458
- name: "nonce",
459
- type: "uint256",
460
- },
461
- {
462
- indexed: false,
463
- internalType: "bool",
464
- name: "success",
465
- type: "bool",
466
- },
467
- {
468
- indexed: false,
469
- internalType: "uint256",
470
- name: "actualGasCost",
471
- type: "uint256",
472
- },
473
- {
474
- indexed: false,
475
- internalType: "uint256",
476
- name: "actualGasUsed",
477
- type: "uint256",
478
- },
479
- ],
480
- name: "UserOperationEvent",
481
- type: "event",
482
- },
483
- {
484
- anonymous: false,
485
- inputs: [
486
- {
487
- indexed: true,
488
- internalType: "bytes32",
489
- name: "userOpHash",
490
- type: "bytes32",
491
- },
492
- {
493
- indexed: true,
494
- internalType: "address",
495
- name: "sender",
496
- type: "address",
497
- },
498
- {
499
- indexed: false,
500
- internalType: "uint256",
501
- name: "nonce",
502
- type: "uint256",
503
- },
504
- {
505
- indexed: false,
506
- internalType: "bytes",
507
- name: "revertReason",
508
- type: "bytes",
509
- },
510
- ],
511
- name: "UserOperationRevertReason",
512
- type: "event",
513
- },
514
- {
515
- anonymous: false,
516
- inputs: [
517
- {
518
- indexed: true,
519
- internalType: "address",
520
- name: "account",
521
- type: "address",
522
- },
523
- {
524
- indexed: false,
525
- internalType: "address",
526
- name: "withdrawAddress",
527
- type: "address",
528
- },
529
- {
530
- indexed: false,
531
- internalType: "uint256",
532
- name: "amount",
533
- type: "uint256",
534
- },
535
- ],
536
- name: "Withdrawn",
537
- type: "event",
538
- },
539
- {
540
- inputs: [],
541
- name: "SIG_VALIDATION_FAILED",
542
- outputs: [
543
- {
544
- internalType: "uint256",
545
- name: "",
546
- type: "uint256",
547
- },
548
- ],
549
- stateMutability: "view",
550
- type: "function",
551
- },
552
- {
553
- inputs: [
554
- {
555
- internalType: "bytes",
556
- name: "initCode",
557
- type: "bytes",
558
- },
559
- {
560
- internalType: "address",
561
- name: "sender",
562
- type: "address",
563
- },
564
- {
565
- internalType: "bytes",
566
- name: "paymasterAndData",
567
- type: "bytes",
568
- },
569
- ],
570
- name: "_validateSenderAndPaymaster",
571
- outputs: [],
572
- stateMutability: "view",
573
- type: "function",
574
- },
575
- {
576
- inputs: [
577
- {
578
- internalType: "uint32",
579
- name: "unstakeDelaySec",
580
- type: "uint32",
581
- },
582
- ],
583
- name: "addStake",
584
- outputs: [],
585
- stateMutability: "payable",
586
- type: "function",
587
- },
588
- {
589
- inputs: [
590
- {
591
- internalType: "address",
592
- name: "account",
593
- type: "address",
594
- },
595
- ],
596
- name: "balanceOf",
597
- outputs: [
598
- {
599
- internalType: "uint256",
600
- name: "",
601
- type: "uint256",
602
- },
603
- ],
604
- stateMutability: "view",
605
- type: "function",
606
- },
607
- {
608
- inputs: [
609
- {
610
- internalType: "address",
611
- name: "account",
612
- type: "address",
613
- },
614
- ],
615
- name: "depositTo",
616
- outputs: [],
617
- stateMutability: "payable",
618
- type: "function",
619
- },
620
- {
621
- inputs: [
622
- {
623
- internalType: "address",
624
- name: "",
625
- type: "address",
626
- },
627
- ],
628
- name: "deposits",
629
- outputs: [
630
- {
631
- internalType: "uint112",
632
- name: "deposit",
633
- type: "uint112",
634
- },
635
- {
636
- internalType: "bool",
637
- name: "staked",
638
- type: "bool",
639
- },
640
- {
641
- internalType: "uint112",
642
- name: "stake",
643
- type: "uint112",
644
- },
645
- {
646
- internalType: "uint32",
647
- name: "unstakeDelaySec",
648
- type: "uint32",
649
- },
650
- {
651
- internalType: "uint48",
652
- name: "withdrawTime",
653
- type: "uint48",
654
- },
655
- ],
656
- stateMutability: "view",
657
- type: "function",
658
- },
659
- {
660
- inputs: [
661
- {
662
- internalType: "address",
663
- name: "account",
664
- type: "address",
665
- },
666
- ],
667
- name: "getDepositInfo",
668
- outputs: [
669
- {
670
- components: [
671
- {
672
- internalType: "uint112",
673
- name: "deposit",
674
- type: "uint112",
675
- },
676
- {
677
- internalType: "bool",
678
- name: "staked",
679
- type: "bool",
680
- },
681
- {
682
- internalType: "uint112",
683
- name: "stake",
684
- type: "uint112",
685
- },
686
- {
687
- internalType: "uint32",
688
- name: "unstakeDelaySec",
689
- type: "uint32",
690
- },
691
- {
692
- internalType: "uint48",
693
- name: "withdrawTime",
694
- type: "uint48",
695
- },
696
- ],
697
- internalType: "struct IStakeManager.DepositInfo",
698
- name: "info",
699
- type: "tuple",
700
- },
701
- ],
702
- stateMutability: "view",
703
- type: "function",
704
- },
705
- {
706
- inputs: [
707
- {
708
- internalType: "address",
709
- name: "sender",
710
- type: "address",
711
- },
712
- {
713
- internalType: "uint192",
714
- name: "key",
715
- type: "uint192",
716
- },
717
- ],
718
- name: "getNonce",
719
- outputs: [
720
- {
721
- internalType: "uint256",
722
- name: "nonce",
723
- type: "uint256",
724
- },
725
- ],
726
- stateMutability: "view",
727
- type: "function",
728
- },
729
- {
730
- inputs: [
731
- {
732
- internalType: "bytes",
733
- name: "initCode",
734
- type: "bytes",
735
- },
736
- ],
737
- name: "getSenderAddress",
738
- outputs: [],
739
- stateMutability: "nonpayable",
740
- type: "function",
741
- },
742
- {
743
- inputs: [
744
- {
745
- components: [
746
- {
747
- internalType: "address",
748
- name: "sender",
749
- type: "address",
750
- },
751
- {
752
- internalType: "uint256",
753
- name: "nonce",
754
- type: "uint256",
755
- },
756
- {
757
- internalType: "bytes",
758
- name: "initCode",
759
- type: "bytes",
760
- },
761
- {
762
- internalType: "bytes",
763
- name: "callData",
764
- type: "bytes",
765
- },
766
- {
767
- internalType: "uint256",
768
- name: "callGasLimit",
769
- type: "uint256",
770
- },
771
- {
772
- internalType: "uint256",
773
- name: "verificationGasLimit",
774
- type: "uint256",
775
- },
776
- {
777
- internalType: "uint256",
778
- name: "preVerificationGas",
779
- type: "uint256",
780
- },
781
- {
782
- internalType: "uint256",
783
- name: "maxFeePerGas",
784
- type: "uint256",
785
- },
786
- {
787
- internalType: "uint256",
788
- name: "maxPriorityFeePerGas",
789
- type: "uint256",
790
- },
791
- {
792
- internalType: "bytes",
793
- name: "paymasterAndData",
794
- type: "bytes",
795
- },
796
- {
797
- internalType: "bytes",
798
- name: "signature",
799
- type: "bytes",
800
- },
801
- ],
802
- internalType: "struct UserOperation",
803
- name: "userOp",
804
- type: "tuple",
805
- },
806
- ],
807
- name: "getUserOpHash",
808
- outputs: [
809
- {
810
- internalType: "bytes32",
811
- name: "",
812
- type: "bytes32",
813
- },
814
- ],
815
- stateMutability: "view",
816
- type: "function",
817
- },
818
- {
819
- inputs: [
820
- {
821
- components: [
822
- {
823
- components: [
824
- {
825
- internalType: "address",
826
- name: "sender",
827
- type: "address",
828
- },
829
- {
830
- internalType: "uint256",
831
- name: "nonce",
832
- type: "uint256",
833
- },
834
- {
835
- internalType: "bytes",
836
- name: "initCode",
837
- type: "bytes",
838
- },
839
- {
840
- internalType: "bytes",
841
- name: "callData",
842
- type: "bytes",
843
- },
844
- {
845
- internalType: "uint256",
846
- name: "callGasLimit",
847
- type: "uint256",
848
- },
849
- {
850
- internalType: "uint256",
851
- name: "verificationGasLimit",
852
- type: "uint256",
853
- },
854
- {
855
- internalType: "uint256",
856
- name: "preVerificationGas",
857
- type: "uint256",
858
- },
859
- {
860
- internalType: "uint256",
861
- name: "maxFeePerGas",
862
- type: "uint256",
863
- },
864
- {
865
- internalType: "uint256",
866
- name: "maxPriorityFeePerGas",
867
- type: "uint256",
868
- },
869
- {
870
- internalType: "bytes",
871
- name: "paymasterAndData",
872
- type: "bytes",
873
- },
874
- {
875
- internalType: "bytes",
876
- name: "signature",
877
- type: "bytes",
878
- },
879
- ],
880
- internalType: "struct UserOperation[]",
881
- name: "userOps",
882
- type: "tuple[]",
883
- },
884
- {
885
- internalType: "contract IAggregator",
886
- name: "aggregator",
887
- type: "address",
888
- },
889
- {
890
- internalType: "bytes",
891
- name: "signature",
892
- type: "bytes",
893
- },
894
- ],
895
- internalType: "struct IEntryPoint.UserOpsPerAggregator[]",
896
- name: "opsPerAggregator",
897
- type: "tuple[]",
898
- },
899
- {
900
- internalType: "address payable",
901
- name: "beneficiary",
902
- type: "address",
903
- },
904
- ],
905
- name: "handleAggregatedOps",
906
- outputs: [],
907
- stateMutability: "nonpayable",
908
- type: "function",
909
- },
910
- {
911
- inputs: [
912
- {
913
- components: [
914
- {
915
- internalType: "address",
916
- name: "sender",
917
- type: "address",
918
- },
919
- {
920
- internalType: "uint256",
921
- name: "nonce",
922
- type: "uint256",
923
- },
924
- {
925
- internalType: "bytes",
926
- name: "initCode",
927
- type: "bytes",
928
- },
929
- {
930
- internalType: "bytes",
931
- name: "callData",
932
- type: "bytes",
933
- },
934
- {
935
- internalType: "uint256",
936
- name: "callGasLimit",
937
- type: "uint256",
938
- },
939
- {
940
- internalType: "uint256",
941
- name: "verificationGasLimit",
942
- type: "uint256",
943
- },
944
- {
945
- internalType: "uint256",
946
- name: "preVerificationGas",
947
- type: "uint256",
948
- },
949
- {
950
- internalType: "uint256",
951
- name: "maxFeePerGas",
952
- type: "uint256",
953
- },
954
- {
955
- internalType: "uint256",
956
- name: "maxPriorityFeePerGas",
957
- type: "uint256",
958
- },
959
- {
960
- internalType: "bytes",
961
- name: "paymasterAndData",
962
- type: "bytes",
963
- },
964
- {
965
- internalType: "bytes",
966
- name: "signature",
967
- type: "bytes",
968
- },
969
- ],
970
- internalType: "struct UserOperation[]",
971
- name: "ops",
972
- type: "tuple[]",
973
- },
974
- {
975
- internalType: "address payable",
976
- name: "beneficiary",
977
- type: "address",
978
- },
979
- ],
980
- name: "handleOps",
981
- outputs: [],
982
- stateMutability: "nonpayable",
983
- type: "function",
984
- },
985
- {
986
- inputs: [
987
- {
988
- internalType: "uint192",
989
- name: "key",
990
- type: "uint192",
991
- },
992
- ],
993
- name: "incrementNonce",
994
- outputs: [],
995
- stateMutability: "nonpayable",
996
- type: "function",
997
- },
998
- {
999
- inputs: [
1000
- {
1001
- internalType: "bytes",
1002
- name: "callData",
1003
- type: "bytes",
1004
- },
1005
- {
1006
- components: [
1007
- {
1008
- components: [
1009
- {
1010
- internalType: "address",
1011
- name: "sender",
1012
- type: "address",
1013
- },
1014
- {
1015
- internalType: "uint256",
1016
- name: "nonce",
1017
- type: "uint256",
1018
- },
1019
- {
1020
- internalType: "uint256",
1021
- name: "callGasLimit",
1022
- type: "uint256",
1023
- },
1024
- {
1025
- internalType: "uint256",
1026
- name: "verificationGasLimit",
1027
- type: "uint256",
1028
- },
1029
- {
1030
- internalType: "uint256",
1031
- name: "preVerificationGas",
1032
- type: "uint256",
1033
- },
1034
- {
1035
- internalType: "address",
1036
- name: "paymaster",
1037
- type: "address",
1038
- },
1039
- {
1040
- internalType: "uint256",
1041
- name: "maxFeePerGas",
1042
- type: "uint256",
1043
- },
1044
- {
1045
- internalType: "uint256",
1046
- name: "maxPriorityFeePerGas",
1047
- type: "uint256",
1048
- },
1049
- ],
1050
- internalType: "struct EntryPoint.MemoryUserOp",
1051
- name: "mUserOp",
1052
- type: "tuple",
1053
- },
1054
- {
1055
- internalType: "bytes32",
1056
- name: "userOpHash",
1057
- type: "bytes32",
1058
- },
1059
- {
1060
- internalType: "uint256",
1061
- name: "prefund",
1062
- type: "uint256",
1063
- },
1064
- {
1065
- internalType: "uint256",
1066
- name: "contextOffset",
1067
- type: "uint256",
1068
- },
1069
- {
1070
- internalType: "uint256",
1071
- name: "preOpGas",
1072
- type: "uint256",
1073
- },
1074
- ],
1075
- internalType: "struct EntryPoint.UserOpInfo",
1076
- name: "opInfo",
1077
- type: "tuple",
1078
- },
1079
- {
1080
- internalType: "bytes",
1081
- name: "context",
1082
- type: "bytes",
1083
- },
1084
- ],
1085
- name: "innerHandleOp",
1086
- outputs: [
1087
- {
1088
- internalType: "uint256",
1089
- name: "actualGasCost",
1090
- type: "uint256",
1091
- },
1092
- ],
1093
- stateMutability: "nonpayable",
1094
- type: "function",
1095
- },
1096
- {
1097
- inputs: [
1098
- {
1099
- internalType: "address",
1100
- name: "",
1101
- type: "address",
1102
- },
1103
- {
1104
- internalType: "uint192",
1105
- name: "",
1106
- type: "uint192",
1107
- },
1108
- ],
1109
- name: "nonceSequenceNumber",
1110
- outputs: [
1111
- {
1112
- internalType: "uint256",
1113
- name: "",
1114
- type: "uint256",
1115
- },
1116
- ],
1117
- stateMutability: "view",
1118
- type: "function",
1119
- },
1120
- {
1121
- inputs: [
1122
- {
1123
- components: [
1124
- {
1125
- internalType: "address",
1126
- name: "sender",
1127
- type: "address",
1128
- },
1129
- {
1130
- internalType: "uint256",
1131
- name: "nonce",
1132
- type: "uint256",
1133
- },
1134
- {
1135
- internalType: "bytes",
1136
- name: "initCode",
1137
- type: "bytes",
1138
- },
1139
- {
1140
- internalType: "bytes",
1141
- name: "callData",
1142
- type: "bytes",
1143
- },
1144
- {
1145
- internalType: "uint256",
1146
- name: "callGasLimit",
1147
- type: "uint256",
1148
- },
1149
- {
1150
- internalType: "uint256",
1151
- name: "verificationGasLimit",
1152
- type: "uint256",
1153
- },
1154
- {
1155
- internalType: "uint256",
1156
- name: "preVerificationGas",
1157
- type: "uint256",
1158
- },
1159
- {
1160
- internalType: "uint256",
1161
- name: "maxFeePerGas",
1162
- type: "uint256",
1163
- },
1164
- {
1165
- internalType: "uint256",
1166
- name: "maxPriorityFeePerGas",
1167
- type: "uint256",
1168
- },
1169
- {
1170
- internalType: "bytes",
1171
- name: "paymasterAndData",
1172
- type: "bytes",
1173
- },
1174
- {
1175
- internalType: "bytes",
1176
- name: "signature",
1177
- type: "bytes",
1178
- },
1179
- ],
1180
- internalType: "struct UserOperation",
1181
- name: "op",
1182
- type: "tuple",
1183
- },
1184
- {
1185
- internalType: "address",
1186
- name: "target",
1187
- type: "address",
1188
- },
1189
- {
1190
- internalType: "bytes",
1191
- name: "targetCallData",
1192
- type: "bytes",
1193
- },
1194
- ],
1195
- name: "simulateHandleOp",
1196
- outputs: [],
1197
- stateMutability: "nonpayable",
1198
- type: "function",
1199
- },
1200
- {
1201
- inputs: [
1202
- {
1203
- components: [
1204
- {
1205
- internalType: "address",
1206
- name: "sender",
1207
- type: "address",
1208
- },
1209
- {
1210
- internalType: "uint256",
1211
- name: "nonce",
1212
- type: "uint256",
1213
- },
1214
- {
1215
- internalType: "bytes",
1216
- name: "initCode",
1217
- type: "bytes",
1218
- },
1219
- {
1220
- internalType: "bytes",
1221
- name: "callData",
1222
- type: "bytes",
1223
- },
1224
- {
1225
- internalType: "uint256",
1226
- name: "callGasLimit",
1227
- type: "uint256",
1228
- },
1229
- {
1230
- internalType: "uint256",
1231
- name: "verificationGasLimit",
1232
- type: "uint256",
1233
- },
1234
- {
1235
- internalType: "uint256",
1236
- name: "preVerificationGas",
1237
- type: "uint256",
1238
- },
1239
- {
1240
- internalType: "uint256",
1241
- name: "maxFeePerGas",
1242
- type: "uint256",
1243
- },
1244
- {
1245
- internalType: "uint256",
1246
- name: "maxPriorityFeePerGas",
1247
- type: "uint256",
1248
- },
1249
- {
1250
- internalType: "bytes",
1251
- name: "paymasterAndData",
1252
- type: "bytes",
1253
- },
1254
- {
1255
- internalType: "bytes",
1256
- name: "signature",
1257
- type: "bytes",
1258
- },
1259
- ],
1260
- internalType: "struct UserOperation",
1261
- name: "userOp",
1262
- type: "tuple",
1263
- },
1264
- ],
1265
- name: "simulateValidation",
1266
- outputs: [],
1267
- stateMutability: "nonpayable",
1268
- type: "function",
1269
- },
1270
- {
1271
- inputs: [],
1272
- name: "unlockStake",
1273
- outputs: [],
1274
- stateMutability: "nonpayable",
1275
- type: "function",
1276
- },
1277
- {
1278
- inputs: [
1279
- {
1280
- internalType: "address payable",
1281
- name: "withdrawAddress",
1282
- type: "address",
1283
- },
1284
- ],
1285
- name: "withdrawStake",
1286
- outputs: [],
1287
- stateMutability: "nonpayable",
1288
- type: "function",
1289
- },
1290
- {
1291
- inputs: [
1292
- {
1293
- internalType: "address payable",
1294
- name: "withdrawAddress",
1295
- type: "address",
1296
- },
1297
- {
1298
- internalType: "uint256",
1299
- name: "withdrawAmount",
1300
- type: "uint256",
1301
- },
1302
- ],
1303
- name: "withdrawTo",
1304
- outputs: [],
1305
- stateMutability: "nonpayable",
1306
- type: "function",
1307
- },
1308
- {
1309
- stateMutability: "payable",
1310
- type: "receive",
1311
- },
1312
- ];
1313
- //# sourceMappingURL=EntryPointAbi_v6.js.map