@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.
- package/dist/esm/abis/EntryPointAbi_v7.js +1 -0
- package/dist/esm/abis/EntryPointAbi_v7.js.map +1 -1
- package/dist/esm/account/smartContractAccount.d.ts +50 -1
- package/dist/esm/account/smartContractAccount.js +111 -2
- package/dist/esm/account/smartContractAccount.js.map +1 -1
- package/dist/esm/actions/smartAccount/buildUserOperation.d.ts +23 -0
- package/dist/esm/actions/smartAccount/buildUserOperation.js +23 -0
- package/dist/esm/actions/smartAccount/buildUserOperation.js.map +1 -1
- package/dist/esm/actions/smartAccount/buildUserOperationFromTx.d.ts +39 -0
- package/dist/esm/actions/smartAccount/buildUserOperationFromTx.js +39 -0
- package/dist/esm/actions/smartAccount/buildUserOperationFromTx.js.map +1 -1
- package/dist/esm/actions/smartAccount/buildUserOperationFromTxs.d.ts +54 -0
- package/dist/esm/actions/smartAccount/buildUserOperationFromTxs.js +55 -0
- package/dist/esm/actions/smartAccount/buildUserOperationFromTxs.js.map +1 -1
- package/dist/esm/actions/smartAccount/checkGasSponsorshipEligibility.d.ts +28 -0
- package/dist/esm/actions/smartAccount/checkGasSponsorshipEligibility.js +28 -0
- package/dist/esm/actions/smartAccount/checkGasSponsorshipEligibility.js.map +1 -1
- package/dist/esm/actions/smartAccount/dropAndReplaceUserOperation.d.ts +22 -0
- package/dist/esm/actions/smartAccount/dropAndReplaceUserOperation.js +27 -6
- package/dist/esm/actions/smartAccount/dropAndReplaceUserOperation.js.map +1 -1
- package/dist/esm/actions/smartAccount/estimateUserOperationGas.d.ts +13 -0
- package/dist/esm/actions/smartAccount/estimateUserOperationGas.js +13 -0
- package/dist/esm/actions/smartAccount/estimateUserOperationGas.js.map +1 -1
- package/dist/esm/actions/smartAccount/internal/initUserOperation.d.ts +13 -0
- package/dist/esm/actions/smartAccount/internal/initUserOperation.js +14 -1
- package/dist/esm/actions/smartAccount/internal/initUserOperation.js.map +1 -1
- package/dist/esm/actions/smartAccount/internal/runMiddlewareStack.js +2 -1
- package/dist/esm/actions/smartAccount/internal/runMiddlewareStack.js.map +1 -1
- package/dist/esm/actions/smartAccount/sendTransaction.d.ts +24 -0
- package/dist/esm/actions/smartAccount/sendTransaction.js +24 -0
- package/dist/esm/actions/smartAccount/sendTransaction.js.map +1 -1
- package/dist/esm/actions/smartAccount/sendTransactions.d.ts +23 -0
- package/dist/esm/actions/smartAccount/sendTransactions.js +23 -0
- package/dist/esm/actions/smartAccount/sendTransactions.js.map +1 -1
- package/dist/esm/actions/smartAccount/sendUserOperation.d.ts +21 -0
- package/dist/esm/actions/smartAccount/sendUserOperation.js +21 -0
- package/dist/esm/actions/smartAccount/sendUserOperation.js.map +1 -1
- package/dist/esm/actions/smartAccount/types.d.ts +14 -0
- package/dist/esm/actions/smartAccount/types.js +1 -0
- package/dist/esm/actions/smartAccount/types.js.map +1 -1
- package/dist/esm/actions/smartAccount/waitForUserOperationTransacation.d.ts +24 -0
- package/dist/esm/actions/smartAccount/waitForUserOperationTransacation.js +24 -0
- package/dist/esm/actions/smartAccount/waitForUserOperationTransacation.js.map +1 -1
- package/dist/esm/client/bundlerClient.d.ts +21 -0
- package/dist/esm/client/bundlerClient.js +32 -0
- package/dist/esm/client/bundlerClient.js.map +1 -1
- package/dist/esm/client/decorators/bundlerClient.d.ts +41 -0
- package/dist/esm/client/decorators/bundlerClient.js +10 -0
- package/dist/esm/client/decorators/bundlerClient.js.map +1 -1
- package/dist/esm/client/decorators/smartAccountClient.d.ts +8 -0
- package/dist/esm/client/decorators/smartAccountClient.js +12 -1
- package/dist/esm/client/decorators/smartAccountClient.js.map +1 -1
- package/dist/esm/client/isSmartAccountClient.d.ts +16 -0
- package/dist/esm/client/isSmartAccountClient.js +16 -0
- package/dist/esm/client/isSmartAccountClient.js.map +1 -1
- package/dist/esm/client/schema.d.ts +12 -0
- package/dist/esm/client/schema.js +14 -0
- package/dist/esm/client/schema.js.map +1 -1
- package/dist/esm/client/smartAccountClient.js +53 -0
- package/dist/esm/client/smartAccountClient.js.map +1 -1
- package/dist/esm/client/types.js +1 -0
- package/dist/esm/client/types.js.map +1 -1
- package/dist/esm/ens/utils.d.ts +45 -0
- package/dist/esm/ens/utils.js +49 -0
- package/dist/esm/ens/utils.js.map +1 -1
- package/dist/esm/entrypoint/index.d.ts +14 -0
- package/dist/esm/entrypoint/index.js +30 -0
- package/dist/esm/entrypoint/index.js.map +1 -1
- package/dist/esm/entrypoint/types.d.ts +17 -0
- package/dist/esm/errors/account.d.ts +87 -4
- package/dist/esm/errors/account.js +88 -4
- package/dist/esm/errors/account.js.map +1 -1
- package/dist/esm/errors/base.d.ts +5 -0
- package/dist/esm/errors/base.js +5 -0
- package/dist/esm/errors/base.js.map +1 -1
- package/dist/esm/errors/client.d.ts +24 -0
- package/dist/esm/errors/client.js +24 -0
- package/dist/esm/errors/client.js.map +1 -1
- package/dist/esm/errors/entrypoint.d.ts +18 -0
- package/dist/esm/errors/entrypoint.js +18 -0
- package/dist/esm/errors/entrypoint.js.map +1 -1
- package/dist/esm/errors/signer.d.ts +8 -0
- package/dist/esm/errors/signer.js +8 -0
- package/dist/esm/errors/signer.js.map +1 -1
- package/dist/esm/errors/transaction.d.ts +14 -1
- package/dist/esm/errors/transaction.js +14 -1
- package/dist/esm/errors/transaction.js.map +1 -1
- package/dist/esm/errors/useroperation.d.ts +25 -0
- package/dist/esm/errors/useroperation.js +26 -0
- package/dist/esm/errors/useroperation.js.map +1 -1
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.js +0 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/logger.d.ts +91 -0
- package/dist/esm/logger.js +91 -0
- package/dist/esm/logger.js.map +1 -1
- package/dist/esm/middleware/actions.d.ts +14 -0
- package/dist/esm/middleware/actions.js +7 -0
- package/dist/esm/middleware/actions.js.map +1 -1
- package/dist/esm/middleware/defaults/feeEstimator.d.ts +20 -0
- package/dist/esm/middleware/defaults/feeEstimator.js +28 -0
- package/dist/esm/middleware/defaults/feeEstimator.js.map +1 -1
- package/dist/esm/middleware/defaults/gasEstimator.d.ts +8 -0
- package/dist/esm/middleware/defaults/gasEstimator.js +8 -0
- package/dist/esm/middleware/defaults/gasEstimator.js.map +1 -1
- package/dist/esm/middleware/defaults/paymasterAndData.d.ts +8 -0
- package/dist/esm/middleware/defaults/paymasterAndData.js +8 -0
- package/dist/esm/middleware/defaults/paymasterAndData.js.map +1 -1
- package/dist/esm/middleware/defaults/userOpSigner.d.ts +10 -0
- package/dist/esm/middleware/defaults/userOpSigner.js +10 -0
- package/dist/esm/middleware/defaults/userOpSigner.js.map +1 -1
- package/dist/esm/middleware/erc7677middleware.d.ts +21 -0
- package/dist/esm/middleware/erc7677middleware.js +23 -0
- package/dist/esm/middleware/erc7677middleware.js.map +1 -1
- package/dist/esm/middleware/noopMiddleware.d.ts +6 -0
- package/dist/esm/middleware/noopMiddleware.js +6 -0
- package/dist/esm/middleware/noopMiddleware.js.map +1 -1
- package/dist/esm/middleware/types.js +1 -0
- package/dist/esm/middleware/types.js.map +1 -1
- package/dist/esm/signer/local-account.d.ts +96 -1
- package/dist/esm/signer/local-account.js +97 -2
- package/dist/esm/signer/local-account.js.map +1 -1
- package/dist/esm/signer/schema.d.ts +14 -0
- package/dist/esm/signer/schema.js +14 -0
- package/dist/esm/signer/schema.js.map +1 -1
- package/dist/esm/signer/types.d.ts +12 -0
- package/dist/esm/signer/types.js +1 -0
- package/dist/esm/signer/types.js.map +1 -1
- package/dist/esm/signer/utils.d.ts +20 -0
- package/dist/esm/signer/utils.js +27 -0
- package/dist/esm/signer/utils.js.map +1 -1
- package/dist/esm/signer/wallet-client.d.ts +92 -0
- package/dist/esm/signer/wallet-client.js +92 -0
- package/dist/esm/signer/wallet-client.js.map +1 -1
- package/dist/esm/transport/split.d.ts +32 -0
- package/dist/esm/transport/split.js +32 -0
- package/dist/esm/transport/split.js.map +1 -1
- package/dist/esm/types.d.ts +17 -0
- package/dist/esm/types.js +1 -0
- package/dist/esm/types.js.map +1 -1
- package/dist/esm/utils/bigint.d.ts +45 -0
- package/dist/esm/utils/bigint.js +46 -0
- package/dist/esm/utils/bigint.js.map +1 -1
- package/dist/esm/utils/bytes.d.ts +9 -0
- package/dist/esm/utils/bytes.js +10 -1
- package/dist/esm/utils/bytes.js.map +1 -1
- package/dist/esm/utils/index.d.ts +86 -0
- package/dist/esm/utils/index.js +86 -0
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/esm/utils/schema.d.ts +3 -0
- package/dist/esm/utils/schema.js +9 -0
- package/dist/esm/utils/schema.js.map +1 -1
- package/dist/esm/utils/stateOverride.js +2 -0
- package/dist/esm/utils/stateOverride.js.map +1 -1
- package/dist/esm/utils/types.d.ts +22 -0
- package/dist/esm/utils/types.js +1 -0
- package/dist/esm/utils/types.js.map +1 -1
- package/dist/esm/utils/userop.d.ts +79 -0
- package/dist/esm/utils/userop.js +83 -0
- package/dist/esm/utils/userop.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +3 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/types/account/smartContractAccount.d.ts +1 -1
- package/dist/types/account/smartContractAccount.d.ts.map +1 -1
- package/dist/types/actions/smartAccount/dropAndReplaceUserOperation.d.ts.map +1 -1
- package/dist/types/client/smartAccountClient.d.ts.map +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/transport/split.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/dist/types/version.d.ts.map +1 -1
- package/package.json +10 -11
- package/src/account/smartContractAccount.ts +3 -3
- package/src/actions/smartAccount/dropAndReplaceUserOperation.ts +10 -10
- package/src/actions/smartAccount/internal/initUserOperation.ts +1 -1
- package/src/client/smartAccountClient.ts +7 -0
- package/src/index.ts +0 -1
- package/src/transport/split.ts +1 -1
- package/src/version.ts +1 -1
- package/dist/cjs/abis/EntryPointAbi_v6.d.ts +0 -1018
- package/dist/cjs/abis/EntryPointAbi_v6.js +0 -1313
- package/dist/cjs/abis/EntryPointAbi_v6.js.map +0 -1
- package/dist/cjs/abis/EntryPointAbi_v7.d.ts +0 -775
- package/dist/cjs/abis/EntryPointAbi_v7.js +0 -661
- package/dist/cjs/abis/EntryPointAbi_v7.js.map +0 -1
- package/dist/cjs/abis/SimpleAccountAbi_v6.d.ts +0 -405
- package/dist/cjs/abis/SimpleAccountAbi_v6.js +0 -528
- package/dist/cjs/abis/SimpleAccountAbi_v6.js.map +0 -1
- package/dist/cjs/abis/SimpleAccountAbi_v7.d.ts +0 -410
- package/dist/cjs/abis/SimpleAccountAbi_v7.js +0 -538
- package/dist/cjs/abis/SimpleAccountAbi_v7.js.map +0 -1
- package/dist/cjs/abis/SimpleAccountFactoryAbi.d.ts +0 -55
- package/dist/cjs/abis/SimpleAccountFactoryAbi.js +0 -78
- package/dist/cjs/abis/SimpleAccountFactoryAbi.js.map +0 -1
- package/dist/cjs/account/smartContractAccount.d.ts +0 -74
- package/dist/cjs/account/smartContractAccount.js +0 -180
- package/dist/cjs/account/smartContractAccount.js.map +0 -1
- package/dist/cjs/actions/bundler/estimateUserOperationGas.d.ts +0 -8
- package/dist/cjs/actions/bundler/estimateUserOperationGas.js +0 -18
- package/dist/cjs/actions/bundler/estimateUserOperationGas.js.map +0 -1
- package/dist/cjs/actions/bundler/getSupportedEntryPoints.d.ts +0 -3
- package/dist/cjs/actions/bundler/getSupportedEntryPoints.js +0 -11
- package/dist/cjs/actions/bundler/getSupportedEntryPoints.js.map +0 -1
- package/dist/cjs/actions/bundler/getUserOperationByHash.d.ts +0 -6
- package/dist/cjs/actions/bundler/getUserOperationByHash.js +0 -11
- package/dist/cjs/actions/bundler/getUserOperationByHash.js.map +0 -1
- package/dist/cjs/actions/bundler/getUserOperationReceipt.d.ts +0 -6
- package/dist/cjs/actions/bundler/getUserOperationReceipt.js +0 -11
- package/dist/cjs/actions/bundler/getUserOperationReceipt.js.map +0 -1
- package/dist/cjs/actions/bundler/sendRawUserOperation.d.ts +0 -7
- package/dist/cjs/actions/bundler/sendRawUserOperation.js +0 -11
- package/dist/cjs/actions/bundler/sendRawUserOperation.js.map +0 -1
- package/dist/cjs/actions/smartAccount/buildUserOperation.d.ts +0 -5
- package/dist/cjs/actions/smartAccount/buildUserOperation.js +0 -25
- package/dist/cjs/actions/smartAccount/buildUserOperation.js.map +0 -1
- package/dist/cjs/actions/smartAccount/buildUserOperationFromTx.d.ts +0 -5
- package/dist/cjs/actions/smartAccount/buildUserOperationFromTx.js +0 -39
- package/dist/cjs/actions/smartAccount/buildUserOperationFromTx.js.map +0 -1
- package/dist/cjs/actions/smartAccount/buildUserOperationFromTxs.d.ts +0 -4
- package/dist/cjs/actions/smartAccount/buildUserOperationFromTxs.js +0 -62
- package/dist/cjs/actions/smartAccount/buildUserOperationFromTxs.js.map +0 -1
- package/dist/cjs/actions/smartAccount/checkGasSponsorshipEligibility.d.ts +0 -4
- package/dist/cjs/actions/smartAccount/checkGasSponsorshipEligibility.js +0 -34
- package/dist/cjs/actions/smartAccount/checkGasSponsorshipEligibility.js.map +0 -1
- package/dist/cjs/actions/smartAccount/dropAndReplaceUserOperation.d.ts +0 -5
- package/dist/cjs/actions/smartAccount/dropAndReplaceUserOperation.js +0 -64
- package/dist/cjs/actions/smartAccount/dropAndReplaceUserOperation.js.map +0 -1
- package/dist/cjs/actions/smartAccount/estimateUserOperationGas.d.ts +0 -5
- package/dist/cjs/actions/smartAccount/estimateUserOperationGas.js +0 -23
- package/dist/cjs/actions/smartAccount/estimateUserOperationGas.js.map +0 -1
- package/dist/cjs/actions/smartAccount/getAddress.d.ts +0 -4
- package/dist/cjs/actions/smartAccount/getAddress.js +0 -13
- package/dist/cjs/actions/smartAccount/getAddress.js.map +0 -1
- package/dist/cjs/actions/smartAccount/internal/initUserOperation.d.ts +0 -7
- package/dist/cjs/actions/smartAccount/internal/initUserOperation.js +0 -42
- package/dist/cjs/actions/smartAccount/internal/initUserOperation.js.map +0 -1
- package/dist/cjs/actions/smartAccount/internal/runMiddlewareStack.d.ts +0 -10
- package/dist/cjs/actions/smartAccount/internal/runMiddlewareStack.js +0 -47
- package/dist/cjs/actions/smartAccount/internal/runMiddlewareStack.js.map +0 -1
- package/dist/cjs/actions/smartAccount/internal/sendUserOperation.d.ts +0 -10
- package/dist/cjs/actions/smartAccount/internal/sendUserOperation.js +0 -28
- package/dist/cjs/actions/smartAccount/internal/sendUserOperation.js.map +0 -1
- package/dist/cjs/actions/smartAccount/sendTransaction.d.ts +0 -5
- package/dist/cjs/actions/smartAccount/sendTransaction.js +0 -35
- package/dist/cjs/actions/smartAccount/sendTransaction.js.map +0 -1
- package/dist/cjs/actions/smartAccount/sendTransactions.d.ts +0 -4
- package/dist/cjs/actions/smartAccount/sendTransactions.js +0 -36
- package/dist/cjs/actions/smartAccount/sendTransactions.js.map +0 -1
- package/dist/cjs/actions/smartAccount/sendUserOperation.d.ts +0 -5
- package/dist/cjs/actions/smartAccount/sendUserOperation.js +0 -31
- package/dist/cjs/actions/smartAccount/sendUserOperation.js.map +0 -1
- package/dist/cjs/actions/smartAccount/signMessage.d.ts +0 -6
- package/dist/cjs/actions/smartAccount/signMessage.js +0 -12
- package/dist/cjs/actions/smartAccount/signMessage.js.map +0 -1
- package/dist/cjs/actions/smartAccount/signMessageWith6492.d.ts +0 -4
- package/dist/cjs/actions/smartAccount/signMessageWith6492.js +0 -12
- package/dist/cjs/actions/smartAccount/signMessageWith6492.js.map +0 -1
- package/dist/cjs/actions/smartAccount/signTypedData.d.ts +0 -10
- package/dist/cjs/actions/smartAccount/signTypedData.js +0 -12
- package/dist/cjs/actions/smartAccount/signTypedData.js.map +0 -1
- package/dist/cjs/actions/smartAccount/signTypedDataWith6492.d.ts +0 -6
- package/dist/cjs/actions/smartAccount/signTypedDataWith6492.js +0 -12
- package/dist/cjs/actions/smartAccount/signTypedDataWith6492.js.map +0 -1
- package/dist/cjs/actions/smartAccount/signUserOperation.d.ts +0 -5
- package/dist/cjs/actions/smartAccount/signUserOperation.js +0 -30
- package/dist/cjs/actions/smartAccount/signUserOperation.js.map +0 -1
- package/dist/cjs/actions/smartAccount/types.d.ts +0 -42
- package/dist/cjs/actions/smartAccount/types.js +0 -3
- package/dist/cjs/actions/smartAccount/types.js.map +0 -1
- package/dist/cjs/actions/smartAccount/upgradeAccount.d.ts +0 -4
- package/dist/cjs/actions/smartAccount/upgradeAccount.js +0 -38
- package/dist/cjs/actions/smartAccount/upgradeAccount.js.map +0 -1
- package/dist/cjs/actions/smartAccount/waitForUserOperationTransacation.d.ts +0 -3
- package/dist/cjs/actions/smartAccount/waitForUserOperationTransacation.js +0 -36
- package/dist/cjs/actions/smartAccount/waitForUserOperationTransacation.js.map +0 -1
- package/dist/cjs/client/bundlerClient.d.ts +0 -10
- package/dist/cjs/client/bundlerClient.js +0 -51
- package/dist/cjs/client/bundlerClient.js.map +0 -1
- package/dist/cjs/client/decorators/bundlerClient.d.ts +0 -41
- package/dist/cjs/client/decorators/bundlerClient.js +0 -17
- package/dist/cjs/client/decorators/bundlerClient.js.map +0 -1
- package/dist/cjs/client/decorators/smartAccountClient.d.ts +0 -35
- package/dist/cjs/client/decorators/smartAccountClient.js +0 -43
- package/dist/cjs/client/decorators/smartAccountClient.js.map +0 -1
- package/dist/cjs/client/isSmartAccountClient.d.ts +0 -5
- package/dist/cjs/client/isSmartAccountClient.js +0 -18
- package/dist/cjs/client/isSmartAccountClient.js.map +0 -1
- package/dist/cjs/client/schema.d.ts +0 -767
- package/dist/cjs/client/schema.js +0 -63
- package/dist/cjs/client/schema.js.map +0 -1
- package/dist/cjs/client/smartAccountClient.d.ts +0 -33
- package/dist/cjs/client/smartAccountClient.js +0 -93
- package/dist/cjs/client/smartAccountClient.js.map +0 -1
- package/dist/cjs/client/types.d.ts +0 -21
- package/dist/cjs/client/types.js +0 -3
- package/dist/cjs/client/types.js.map +0 -1
- package/dist/cjs/ens/utils.d.ts +0 -6
- package/dist/cjs/ens/utils.js +0 -53
- package/dist/cjs/ens/utils.js.map +0 -1
- package/dist/cjs/entrypoint/0.6.d.ts +0 -1029
- package/dist/cjs/entrypoint/0.6.js +0 -49
- package/dist/cjs/entrypoint/0.6.js.map +0 -1
- package/dist/cjs/entrypoint/0.7.d.ts +0 -792
- package/dist/cjs/entrypoint/0.7.js +0 -88
- package/dist/cjs/entrypoint/0.7.js.map +0 -1
- package/dist/cjs/entrypoint/index.d.ts +0 -8
- package/dist/cjs/entrypoint/index.js +0 -53
- package/dist/cjs/entrypoint/index.js.map +0 -1
- package/dist/cjs/entrypoint/types.d.ts +0 -46
- package/dist/cjs/entrypoint/types.js +0 -3
- package/dist/cjs/entrypoint/types.js.map +0 -1
- package/dist/cjs/errors/account.d.ts +0 -47
- package/dist/cjs/errors/account.js +0 -140
- package/dist/cjs/errors/account.js.map +0 -1
- package/dist/cjs/errors/base.d.ts +0 -18
- package/dist/cjs/errors/base.js +0 -39
- package/dist/cjs/errors/base.js.map +0 -1
- package/dist/cjs/errors/client.d.ts +0 -14
- package/dist/cjs/errors/client.js +0 -44
- package/dist/cjs/errors/client.js.map +0 -1
- package/dist/cjs/errors/entrypoint.d.ts +0 -10
- package/dist/cjs/errors/entrypoint.js +0 -32
- package/dist/cjs/errors/entrypoint.js.map +0 -1
- package/dist/cjs/errors/signer.d.ts +0 -5
- package/dist/cjs/errors/signer.js +0 -20
- package/dist/cjs/errors/signer.js.map +0 -1
- package/dist/cjs/errors/transaction.d.ts +0 -10
- package/dist/cjs/errors/transaction.js +0 -29
- package/dist/cjs/errors/transaction.js.map +0 -1
- package/dist/cjs/errors/useroperation.d.ts +0 -10
- package/dist/cjs/errors/useroperation.js +0 -34
- package/dist/cjs/errors/useroperation.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -60
- package/dist/cjs/index.js +0 -170
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/logger.d.ts +0 -20
- package/dist/cjs/logger.js +0 -60
- package/dist/cjs/logger.js.map +0 -1
- package/dist/cjs/middleware/actions.d.ts +0 -12
- package/dist/cjs/middleware/actions.js +0 -21
- package/dist/cjs/middleware/actions.js.map +0 -1
- package/dist/cjs/middleware/defaults/feeEstimator.d.ts +0 -3
- package/dist/cjs/middleware/defaults/feeEstimator.js +0 -23
- package/dist/cjs/middleware/defaults/feeEstimator.js.map +0 -1
- package/dist/cjs/middleware/defaults/gasEstimator.d.ts +0 -3
- package/dist/cjs/middleware/defaults/gasEstimator.js +0 -28
- package/dist/cjs/middleware/defaults/gasEstimator.js.map +0 -1
- package/dist/cjs/middleware/defaults/paymasterAndData.d.ts +0 -2
- package/dist/cjs/middleware/defaults/paymasterAndData.js +0 -12
- package/dist/cjs/middleware/defaults/paymasterAndData.js.map +0 -1
- package/dist/cjs/middleware/defaults/userOpSigner.d.ts +0 -2
- package/dist/cjs/middleware/defaults/userOpSigner.js +0 -26
- package/dist/cjs/middleware/defaults/userOpSigner.js.map +0 -1
- package/dist/cjs/middleware/erc7677middleware.d.ts +0 -40
- package/dist/cjs/middleware/erc7677middleware.js +0 -77
- package/dist/cjs/middleware/erc7677middleware.js.map +0 -1
- package/dist/cjs/middleware/noopMiddleware.d.ts +0 -3
- package/dist/cjs/middleware/noopMiddleware.js +0 -8
- package/dist/cjs/middleware/noopMiddleware.js.map +0 -1
- package/dist/cjs/middleware/types.d.ts +0 -22
- package/dist/cjs/middleware/types.js +0 -3
- package/dist/cjs/middleware/types.js.map +0 -1
- package/dist/cjs/package.json +0 -1
- package/dist/cjs/signer/local-account.d.ts +0 -219
- package/dist/cjs/signer/local-account.js +0 -56
- package/dist/cjs/signer/local-account.js.map +0 -1
- package/dist/cjs/signer/schema.d.ts +0 -4
- package/dist/cjs/signer/schema.js +0 -16
- package/dist/cjs/signer/schema.js.map +0 -1
- package/dist/cjs/signer/types.d.ts +0 -15
- package/dist/cjs/signer/types.js +0 -3
- package/dist/cjs/signer/types.js.map +0 -1
- package/dist/cjs/signer/utils.d.ts +0 -7
- package/dist/cjs/signer/utils.js +0 -16
- package/dist/cjs/signer/utils.js.map +0 -1
- package/dist/cjs/signer/wallet-client.d.ts +0 -217
- package/dist/cjs/signer/wallet-client.js +0 -58
- package/dist/cjs/signer/wallet-client.js.map +0 -1
- package/dist/cjs/transport/split.d.ts +0 -9
- package/dist/cjs/transport/split.js +0 -26
- package/dist/cjs/transport/split.js.map +0 -1
- package/dist/cjs/types.d.ts +0 -158
- package/dist/cjs/types.js +0 -3
- package/dist/cjs/types.js.map +0 -1
- package/dist/cjs/utils/bigint.d.ts +0 -10
- package/dist/cjs/utils/bigint.js +0 -55
- package/dist/cjs/utils/bigint.js.map +0 -1
- package/dist/cjs/utils/bytes.d.ts +0 -7
- package/dist/cjs/utils/bytes.js +0 -11
- package/dist/cjs/utils/bytes.js.map +0 -1
- package/dist/cjs/utils/defaults.d.ts +0 -4
- package/dist/cjs/utils/defaults.js +0 -19
- package/dist/cjs/utils/defaults.js.map +0 -1
- package/dist/cjs/utils/index.d.ts +0 -19
- package/dist/cjs/utils/index.js +0 -95
- package/dist/cjs/utils/index.js.map +0 -1
- package/dist/cjs/utils/schema.d.ts +0 -25
- package/dist/cjs/utils/schema.js +0 -35
- package/dist/cjs/utils/schema.js.map +0 -1
- package/dist/cjs/utils/stateOverride.d.ts +0 -4
- package/dist/cjs/utils/stateOverride.js +0 -52
- package/dist/cjs/utils/stateOverride.js.map +0 -1
- package/dist/cjs/utils/testUtils.d.ts +0 -6
- package/dist/cjs/utils/testUtils.js +0 -33
- package/dist/cjs/utils/testUtils.js.map +0 -1
- package/dist/cjs/utils/types.d.ts +0 -16
- package/dist/cjs/utils/types.js +0 -3
- package/dist/cjs/utils/types.js.map +0 -1
- package/dist/cjs/utils/userop.d.ts +0 -49
- package/dist/cjs/utils/userop.js +0 -75
- package/dist/cjs/utils/userop.js.map +0 -1
- package/dist/cjs/version.d.ts +0 -1
- package/dist/cjs/version.js +0 -5
- package/dist/cjs/version.js.map +0 -1
- package/dist/esm/package.json +0 -1
|
@@ -1,661 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EntryPointAbi_v7 = void 0;
|
|
4
|
-
exports.EntryPointAbi_v7 = [
|
|
5
|
-
{
|
|
6
|
-
inputs: [
|
|
7
|
-
{ internalType: "bool", name: "success", type: "bool" },
|
|
8
|
-
{ internalType: "bytes", name: "ret", type: "bytes" },
|
|
9
|
-
],
|
|
10
|
-
name: "DelegateAndRevert",
|
|
11
|
-
type: "error",
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
inputs: [
|
|
15
|
-
{ internalType: "uint256", name: "opIndex", type: "uint256" },
|
|
16
|
-
{ internalType: "string", name: "reason", type: "string" },
|
|
17
|
-
],
|
|
18
|
-
name: "FailedOp",
|
|
19
|
-
type: "error",
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
inputs: [
|
|
23
|
-
{ internalType: "uint256", name: "opIndex", type: "uint256" },
|
|
24
|
-
{ internalType: "string", name: "reason", type: "string" },
|
|
25
|
-
{ internalType: "bytes", name: "inner", type: "bytes" },
|
|
26
|
-
],
|
|
27
|
-
name: "FailedOpWithRevert",
|
|
28
|
-
type: "error",
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
inputs: [{ internalType: "bytes", name: "returnData", type: "bytes" }],
|
|
32
|
-
name: "PostOpReverted",
|
|
33
|
-
type: "error",
|
|
34
|
-
},
|
|
35
|
-
{ inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" },
|
|
36
|
-
{
|
|
37
|
-
inputs: [{ internalType: "address", name: "sender", type: "address" }],
|
|
38
|
-
name: "SenderAddressResult",
|
|
39
|
-
type: "error",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
inputs: [{ internalType: "address", name: "aggregator", type: "address" }],
|
|
43
|
-
name: "SignatureValidationFailed",
|
|
44
|
-
type: "error",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
anonymous: false,
|
|
48
|
-
inputs: [
|
|
49
|
-
{
|
|
50
|
-
indexed: true,
|
|
51
|
-
internalType: "bytes32",
|
|
52
|
-
name: "userOpHash",
|
|
53
|
-
type: "bytes32",
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
indexed: true,
|
|
57
|
-
internalType: "address",
|
|
58
|
-
name: "sender",
|
|
59
|
-
type: "address",
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
indexed: false,
|
|
63
|
-
internalType: "address",
|
|
64
|
-
name: "factory",
|
|
65
|
-
type: "address",
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
indexed: false,
|
|
69
|
-
internalType: "address",
|
|
70
|
-
name: "paymaster",
|
|
71
|
-
type: "address",
|
|
72
|
-
},
|
|
73
|
-
],
|
|
74
|
-
name: "AccountDeployed",
|
|
75
|
-
type: "event",
|
|
76
|
-
},
|
|
77
|
-
{ anonymous: false, inputs: [], name: "BeforeExecution", type: "event" },
|
|
78
|
-
{
|
|
79
|
-
anonymous: false,
|
|
80
|
-
inputs: [
|
|
81
|
-
{
|
|
82
|
-
indexed: true,
|
|
83
|
-
internalType: "address",
|
|
84
|
-
name: "account",
|
|
85
|
-
type: "address",
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
indexed: false,
|
|
89
|
-
internalType: "uint256",
|
|
90
|
-
name: "totalDeposit",
|
|
91
|
-
type: "uint256",
|
|
92
|
-
},
|
|
93
|
-
],
|
|
94
|
-
name: "Deposited",
|
|
95
|
-
type: "event",
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
anonymous: false,
|
|
99
|
-
inputs: [
|
|
100
|
-
{
|
|
101
|
-
indexed: true,
|
|
102
|
-
internalType: "bytes32",
|
|
103
|
-
name: "userOpHash",
|
|
104
|
-
type: "bytes32",
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
indexed: true,
|
|
108
|
-
internalType: "address",
|
|
109
|
-
name: "sender",
|
|
110
|
-
type: "address",
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
indexed: false,
|
|
114
|
-
internalType: "uint256",
|
|
115
|
-
name: "nonce",
|
|
116
|
-
type: "uint256",
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
indexed: false,
|
|
120
|
-
internalType: "bytes",
|
|
121
|
-
name: "revertReason",
|
|
122
|
-
type: "bytes",
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
name: "PostOpRevertReason",
|
|
126
|
-
type: "event",
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
anonymous: false,
|
|
130
|
-
inputs: [
|
|
131
|
-
{
|
|
132
|
-
indexed: true,
|
|
133
|
-
internalType: "address",
|
|
134
|
-
name: "aggregator",
|
|
135
|
-
type: "address",
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
name: "SignatureAggregatorChanged",
|
|
139
|
-
type: "event",
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
anonymous: false,
|
|
143
|
-
inputs: [
|
|
144
|
-
{
|
|
145
|
-
indexed: true,
|
|
146
|
-
internalType: "address",
|
|
147
|
-
name: "account",
|
|
148
|
-
type: "address",
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
indexed: false,
|
|
152
|
-
internalType: "uint256",
|
|
153
|
-
name: "totalStaked",
|
|
154
|
-
type: "uint256",
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
indexed: false,
|
|
158
|
-
internalType: "uint256",
|
|
159
|
-
name: "unstakeDelaySec",
|
|
160
|
-
type: "uint256",
|
|
161
|
-
},
|
|
162
|
-
],
|
|
163
|
-
name: "StakeLocked",
|
|
164
|
-
type: "event",
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
anonymous: false,
|
|
168
|
-
inputs: [
|
|
169
|
-
{
|
|
170
|
-
indexed: true,
|
|
171
|
-
internalType: "address",
|
|
172
|
-
name: "account",
|
|
173
|
-
type: "address",
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
indexed: false,
|
|
177
|
-
internalType: "uint256",
|
|
178
|
-
name: "withdrawTime",
|
|
179
|
-
type: "uint256",
|
|
180
|
-
},
|
|
181
|
-
],
|
|
182
|
-
name: "StakeUnlocked",
|
|
183
|
-
type: "event",
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
anonymous: false,
|
|
187
|
-
inputs: [
|
|
188
|
-
{
|
|
189
|
-
indexed: true,
|
|
190
|
-
internalType: "address",
|
|
191
|
-
name: "account",
|
|
192
|
-
type: "address",
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
indexed: false,
|
|
196
|
-
internalType: "address",
|
|
197
|
-
name: "withdrawAddress",
|
|
198
|
-
type: "address",
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
indexed: false,
|
|
202
|
-
internalType: "uint256",
|
|
203
|
-
name: "amount",
|
|
204
|
-
type: "uint256",
|
|
205
|
-
},
|
|
206
|
-
],
|
|
207
|
-
name: "StakeWithdrawn",
|
|
208
|
-
type: "event",
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
anonymous: false,
|
|
212
|
-
inputs: [
|
|
213
|
-
{
|
|
214
|
-
indexed: true,
|
|
215
|
-
internalType: "bytes32",
|
|
216
|
-
name: "userOpHash",
|
|
217
|
-
type: "bytes32",
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
indexed: true,
|
|
221
|
-
internalType: "address",
|
|
222
|
-
name: "sender",
|
|
223
|
-
type: "address",
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
indexed: true,
|
|
227
|
-
internalType: "address",
|
|
228
|
-
name: "paymaster",
|
|
229
|
-
type: "address",
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
indexed: false,
|
|
233
|
-
internalType: "uint256",
|
|
234
|
-
name: "nonce",
|
|
235
|
-
type: "uint256",
|
|
236
|
-
},
|
|
237
|
-
{ indexed: false, internalType: "bool", name: "success", type: "bool" },
|
|
238
|
-
{
|
|
239
|
-
indexed: false,
|
|
240
|
-
internalType: "uint256",
|
|
241
|
-
name: "actualGasCost",
|
|
242
|
-
type: "uint256",
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
indexed: false,
|
|
246
|
-
internalType: "uint256",
|
|
247
|
-
name: "actualGasUsed",
|
|
248
|
-
type: "uint256",
|
|
249
|
-
},
|
|
250
|
-
],
|
|
251
|
-
name: "UserOperationEvent",
|
|
252
|
-
type: "event",
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
anonymous: false,
|
|
256
|
-
inputs: [
|
|
257
|
-
{
|
|
258
|
-
indexed: true,
|
|
259
|
-
internalType: "bytes32",
|
|
260
|
-
name: "userOpHash",
|
|
261
|
-
type: "bytes32",
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
indexed: true,
|
|
265
|
-
internalType: "address",
|
|
266
|
-
name: "sender",
|
|
267
|
-
type: "address",
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
indexed: false,
|
|
271
|
-
internalType: "uint256",
|
|
272
|
-
name: "nonce",
|
|
273
|
-
type: "uint256",
|
|
274
|
-
},
|
|
275
|
-
],
|
|
276
|
-
name: "UserOperationPrefundTooLow",
|
|
277
|
-
type: "event",
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
anonymous: false,
|
|
281
|
-
inputs: [
|
|
282
|
-
{
|
|
283
|
-
indexed: true,
|
|
284
|
-
internalType: "bytes32",
|
|
285
|
-
name: "userOpHash",
|
|
286
|
-
type: "bytes32",
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
indexed: true,
|
|
290
|
-
internalType: "address",
|
|
291
|
-
name: "sender",
|
|
292
|
-
type: "address",
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
indexed: false,
|
|
296
|
-
internalType: "uint256",
|
|
297
|
-
name: "nonce",
|
|
298
|
-
type: "uint256",
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
indexed: false,
|
|
302
|
-
internalType: "bytes",
|
|
303
|
-
name: "revertReason",
|
|
304
|
-
type: "bytes",
|
|
305
|
-
},
|
|
306
|
-
],
|
|
307
|
-
name: "UserOperationRevertReason",
|
|
308
|
-
type: "event",
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
anonymous: false,
|
|
312
|
-
inputs: [
|
|
313
|
-
{
|
|
314
|
-
indexed: true,
|
|
315
|
-
internalType: "address",
|
|
316
|
-
name: "account",
|
|
317
|
-
type: "address",
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
indexed: false,
|
|
321
|
-
internalType: "address",
|
|
322
|
-
name: "withdrawAddress",
|
|
323
|
-
type: "address",
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
indexed: false,
|
|
327
|
-
internalType: "uint256",
|
|
328
|
-
name: "amount",
|
|
329
|
-
type: "uint256",
|
|
330
|
-
},
|
|
331
|
-
],
|
|
332
|
-
name: "Withdrawn",
|
|
333
|
-
type: "event",
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
inputs: [
|
|
337
|
-
{ internalType: "uint32", name: "unstakeDelaySec", type: "uint32" },
|
|
338
|
-
],
|
|
339
|
-
name: "addStake",
|
|
340
|
-
outputs: [],
|
|
341
|
-
stateMutability: "payable",
|
|
342
|
-
type: "function",
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
346
|
-
name: "balanceOf",
|
|
347
|
-
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
348
|
-
stateMutability: "view",
|
|
349
|
-
type: "function",
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
inputs: [
|
|
353
|
-
{ internalType: "address", name: "target", type: "address" },
|
|
354
|
-
{ internalType: "bytes", name: "data", type: "bytes" },
|
|
355
|
-
],
|
|
356
|
-
name: "delegateAndRevert",
|
|
357
|
-
outputs: [],
|
|
358
|
-
stateMutability: "nonpayable",
|
|
359
|
-
type: "function",
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
363
|
-
name: "depositTo",
|
|
364
|
-
outputs: [],
|
|
365
|
-
stateMutability: "payable",
|
|
366
|
-
type: "function",
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
inputs: [{ internalType: "address", name: "", type: "address" }],
|
|
370
|
-
name: "deposits",
|
|
371
|
-
outputs: [
|
|
372
|
-
{ internalType: "uint256", name: "deposit", type: "uint256" },
|
|
373
|
-
{ internalType: "bool", name: "staked", type: "bool" },
|
|
374
|
-
{ internalType: "uint112", name: "stake", type: "uint112" },
|
|
375
|
-
{ internalType: "uint32", name: "unstakeDelaySec", type: "uint32" },
|
|
376
|
-
{ internalType: "uint48", name: "withdrawTime", type: "uint48" },
|
|
377
|
-
],
|
|
378
|
-
stateMutability: "view",
|
|
379
|
-
type: "function",
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
383
|
-
name: "getDepositInfo",
|
|
384
|
-
outputs: [
|
|
385
|
-
{
|
|
386
|
-
components: [
|
|
387
|
-
{ internalType: "uint256", name: "deposit", type: "uint256" },
|
|
388
|
-
{ internalType: "bool", name: "staked", type: "bool" },
|
|
389
|
-
{ internalType: "uint112", name: "stake", type: "uint112" },
|
|
390
|
-
{ internalType: "uint32", name: "unstakeDelaySec", type: "uint32" },
|
|
391
|
-
{ internalType: "uint48", name: "withdrawTime", type: "uint48" },
|
|
392
|
-
],
|
|
393
|
-
internalType: "struct IStakeManager.DepositInfo",
|
|
394
|
-
name: "info",
|
|
395
|
-
type: "tuple",
|
|
396
|
-
},
|
|
397
|
-
],
|
|
398
|
-
stateMutability: "view",
|
|
399
|
-
type: "function",
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
inputs: [
|
|
403
|
-
{ internalType: "address", name: "sender", type: "address" },
|
|
404
|
-
{ internalType: "uint192", name: "key", type: "uint192" },
|
|
405
|
-
],
|
|
406
|
-
name: "getNonce",
|
|
407
|
-
outputs: [{ internalType: "uint256", name: "nonce", type: "uint256" }],
|
|
408
|
-
stateMutability: "view",
|
|
409
|
-
type: "function",
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
inputs: [{ internalType: "bytes", name: "initCode", type: "bytes" }],
|
|
413
|
-
name: "getSenderAddress",
|
|
414
|
-
outputs: [],
|
|
415
|
-
stateMutability: "nonpayable",
|
|
416
|
-
type: "function",
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
inputs: [
|
|
420
|
-
{
|
|
421
|
-
components: [
|
|
422
|
-
{ internalType: "address", name: "sender", type: "address" },
|
|
423
|
-
{ internalType: "uint256", name: "nonce", type: "uint256" },
|
|
424
|
-
{ internalType: "bytes", name: "initCode", type: "bytes" },
|
|
425
|
-
{ internalType: "bytes", name: "callData", type: "bytes" },
|
|
426
|
-
{
|
|
427
|
-
internalType: "bytes32",
|
|
428
|
-
name: "accountGasLimits",
|
|
429
|
-
type: "bytes32",
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
internalType: "uint256",
|
|
433
|
-
name: "preVerificationGas",
|
|
434
|
-
type: "uint256",
|
|
435
|
-
},
|
|
436
|
-
{ internalType: "bytes32", name: "gasFees", type: "bytes32" },
|
|
437
|
-
{ internalType: "bytes", name: "paymasterAndData", type: "bytes" },
|
|
438
|
-
{ internalType: "bytes", name: "signature", type: "bytes" },
|
|
439
|
-
],
|
|
440
|
-
internalType: "struct PackedUserOperation",
|
|
441
|
-
name: "userOp",
|
|
442
|
-
type: "tuple",
|
|
443
|
-
},
|
|
444
|
-
],
|
|
445
|
-
name: "getUserOpHash",
|
|
446
|
-
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
447
|
-
stateMutability: "view",
|
|
448
|
-
type: "function",
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
inputs: [
|
|
452
|
-
{
|
|
453
|
-
components: [
|
|
454
|
-
{
|
|
455
|
-
components: [
|
|
456
|
-
{ internalType: "address", name: "sender", type: "address" },
|
|
457
|
-
{ internalType: "uint256", name: "nonce", type: "uint256" },
|
|
458
|
-
{ internalType: "bytes", name: "initCode", type: "bytes" },
|
|
459
|
-
{ internalType: "bytes", name: "callData", type: "bytes" },
|
|
460
|
-
{
|
|
461
|
-
internalType: "bytes32",
|
|
462
|
-
name: "accountGasLimits",
|
|
463
|
-
type: "bytes32",
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
internalType: "uint256",
|
|
467
|
-
name: "preVerificationGas",
|
|
468
|
-
type: "uint256",
|
|
469
|
-
},
|
|
470
|
-
{ internalType: "bytes32", name: "gasFees", type: "bytes32" },
|
|
471
|
-
{
|
|
472
|
-
internalType: "bytes",
|
|
473
|
-
name: "paymasterAndData",
|
|
474
|
-
type: "bytes",
|
|
475
|
-
},
|
|
476
|
-
{ internalType: "bytes", name: "signature", type: "bytes" },
|
|
477
|
-
],
|
|
478
|
-
internalType: "struct PackedUserOperation[]",
|
|
479
|
-
name: "userOps",
|
|
480
|
-
type: "tuple[]",
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
internalType: "contract IAggregator",
|
|
484
|
-
name: "aggregator",
|
|
485
|
-
type: "address",
|
|
486
|
-
},
|
|
487
|
-
{ internalType: "bytes", name: "signature", type: "bytes" },
|
|
488
|
-
],
|
|
489
|
-
internalType: "struct IEntryPoint.UserOpsPerAggregator[]",
|
|
490
|
-
name: "opsPerAggregator",
|
|
491
|
-
type: "tuple[]",
|
|
492
|
-
},
|
|
493
|
-
{ internalType: "address payable", name: "beneficiary", type: "address" },
|
|
494
|
-
],
|
|
495
|
-
name: "handleAggregatedOps",
|
|
496
|
-
outputs: [],
|
|
497
|
-
stateMutability: "nonpayable",
|
|
498
|
-
type: "function",
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
inputs: [
|
|
502
|
-
{
|
|
503
|
-
components: [
|
|
504
|
-
{ internalType: "address", name: "sender", type: "address" },
|
|
505
|
-
{ internalType: "uint256", name: "nonce", type: "uint256" },
|
|
506
|
-
{ internalType: "bytes", name: "initCode", type: "bytes" },
|
|
507
|
-
{ internalType: "bytes", name: "callData", type: "bytes" },
|
|
508
|
-
{
|
|
509
|
-
internalType: "bytes32",
|
|
510
|
-
name: "accountGasLimits",
|
|
511
|
-
type: "bytes32",
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
internalType: "uint256",
|
|
515
|
-
name: "preVerificationGas",
|
|
516
|
-
type: "uint256",
|
|
517
|
-
},
|
|
518
|
-
{ internalType: "bytes32", name: "gasFees", type: "bytes32" },
|
|
519
|
-
{ internalType: "bytes", name: "paymasterAndData", type: "bytes" },
|
|
520
|
-
{ internalType: "bytes", name: "signature", type: "bytes" },
|
|
521
|
-
],
|
|
522
|
-
internalType: "struct PackedUserOperation[]",
|
|
523
|
-
name: "ops",
|
|
524
|
-
type: "tuple[]",
|
|
525
|
-
},
|
|
526
|
-
{ internalType: "address payable", name: "beneficiary", type: "address" },
|
|
527
|
-
],
|
|
528
|
-
name: "handleOps",
|
|
529
|
-
outputs: [],
|
|
530
|
-
stateMutability: "nonpayable",
|
|
531
|
-
type: "function",
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
inputs: [{ internalType: "uint192", name: "key", type: "uint192" }],
|
|
535
|
-
name: "incrementNonce",
|
|
536
|
-
outputs: [],
|
|
537
|
-
stateMutability: "nonpayable",
|
|
538
|
-
type: "function",
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
inputs: [
|
|
542
|
-
{ internalType: "bytes", name: "callData", type: "bytes" },
|
|
543
|
-
{
|
|
544
|
-
components: [
|
|
545
|
-
{
|
|
546
|
-
components: [
|
|
547
|
-
{ internalType: "address", name: "sender", type: "address" },
|
|
548
|
-
{ internalType: "uint256", name: "nonce", type: "uint256" },
|
|
549
|
-
{
|
|
550
|
-
internalType: "uint256",
|
|
551
|
-
name: "verificationGasLimit",
|
|
552
|
-
type: "uint256",
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
internalType: "uint256",
|
|
556
|
-
name: "callGasLimit",
|
|
557
|
-
type: "uint256",
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
internalType: "uint256",
|
|
561
|
-
name: "paymasterVerificationGasLimit",
|
|
562
|
-
type: "uint256",
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
internalType: "uint256",
|
|
566
|
-
name: "paymasterPostOpGasLimit",
|
|
567
|
-
type: "uint256",
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
internalType: "uint256",
|
|
571
|
-
name: "preVerificationGas",
|
|
572
|
-
type: "uint256",
|
|
573
|
-
},
|
|
574
|
-
{ internalType: "address", name: "paymaster", type: "address" },
|
|
575
|
-
{
|
|
576
|
-
internalType: "uint256",
|
|
577
|
-
name: "maxFeePerGas",
|
|
578
|
-
type: "uint256",
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
internalType: "uint256",
|
|
582
|
-
name: "maxPriorityFeePerGas",
|
|
583
|
-
type: "uint256",
|
|
584
|
-
},
|
|
585
|
-
],
|
|
586
|
-
internalType: "struct EntryPoint.MemoryUserOp",
|
|
587
|
-
name: "mUserOp",
|
|
588
|
-
type: "tuple",
|
|
589
|
-
},
|
|
590
|
-
{ internalType: "bytes32", name: "userOpHash", type: "bytes32" },
|
|
591
|
-
{ internalType: "uint256", name: "prefund", type: "uint256" },
|
|
592
|
-
{ internalType: "uint256", name: "contextOffset", type: "uint256" },
|
|
593
|
-
{ internalType: "uint256", name: "preOpGas", type: "uint256" },
|
|
594
|
-
],
|
|
595
|
-
internalType: "struct EntryPoint.UserOpInfo",
|
|
596
|
-
name: "opInfo",
|
|
597
|
-
type: "tuple",
|
|
598
|
-
},
|
|
599
|
-
{ internalType: "bytes", name: "context", type: "bytes" },
|
|
600
|
-
],
|
|
601
|
-
name: "innerHandleOp",
|
|
602
|
-
outputs: [
|
|
603
|
-
{ internalType: "uint256", name: "actualGasCost", type: "uint256" },
|
|
604
|
-
],
|
|
605
|
-
stateMutability: "nonpayable",
|
|
606
|
-
type: "function",
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
inputs: [
|
|
610
|
-
{ internalType: "address", name: "", type: "address" },
|
|
611
|
-
{ internalType: "uint192", name: "", type: "uint192" },
|
|
612
|
-
],
|
|
613
|
-
name: "nonceSequenceNumber",
|
|
614
|
-
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
615
|
-
stateMutability: "view",
|
|
616
|
-
type: "function",
|
|
617
|
-
},
|
|
618
|
-
{
|
|
619
|
-
inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }],
|
|
620
|
-
name: "supportsInterface",
|
|
621
|
-
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
622
|
-
stateMutability: "view",
|
|
623
|
-
type: "function",
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
inputs: [],
|
|
627
|
-
name: "unlockStake",
|
|
628
|
-
outputs: [],
|
|
629
|
-
stateMutability: "nonpayable",
|
|
630
|
-
type: "function",
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
inputs: [
|
|
634
|
-
{
|
|
635
|
-
internalType: "address payable",
|
|
636
|
-
name: "withdrawAddress",
|
|
637
|
-
type: "address",
|
|
638
|
-
},
|
|
639
|
-
],
|
|
640
|
-
name: "withdrawStake",
|
|
641
|
-
outputs: [],
|
|
642
|
-
stateMutability: "nonpayable",
|
|
643
|
-
type: "function",
|
|
644
|
-
},
|
|
645
|
-
{
|
|
646
|
-
inputs: [
|
|
647
|
-
{
|
|
648
|
-
internalType: "address payable",
|
|
649
|
-
name: "withdrawAddress",
|
|
650
|
-
type: "address",
|
|
651
|
-
},
|
|
652
|
-
{ internalType: "uint256", name: "withdrawAmount", type: "uint256" },
|
|
653
|
-
],
|
|
654
|
-
name: "withdrawTo",
|
|
655
|
-
outputs: [],
|
|
656
|
-
stateMutability: "nonpayable",
|
|
657
|
-
type: "function",
|
|
658
|
-
},
|
|
659
|
-
{ stateMutability: "payable", type: "receive" },
|
|
660
|
-
];
|
|
661
|
-
//# sourceMappingURL=EntryPointAbi_v7.js.map
|