@alchemy/aa-core
Version:
viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts
49 lines • 4.86 kB
JavaScript
import * as chains_1 from "viem/chains";
export { chains_1 as chains };
export { EntryPointAbi_v6 } from "./abis/EntryPointAbi_v6.js";
export { EntryPointAbi_v7 } from "./abis/EntryPointAbi_v7.js";
export { SimpleAccountAbi_v6 } from "./abis/SimpleAccountAbi_v6.js";
export { SimpleAccountAbi_v7 } from "./abis/SimpleAccountAbi_v7.js";
export { SimpleAccountFactoryAbi } from "./abis/SimpleAccountFactoryAbi.js";
export { BaseSmartContractAccount } from "./account/base.js";
export { createSimpleSmartAccount } from "./account/simple.js";
export { getAccountAddress, isSmartAccountWithSigner, parseFactoryAddressFromAccountInitCode, toSmartContractAccount, } from "./account/smartContractAccount.js";
export { buildUserOperation } from "./actions/smartAccount/buildUserOperation.js";
export { buildUserOperationFromTx } from "./actions/smartAccount/buildUserOperationFromTx.js";
export { buildUserOperationFromTxs } from "./actions/smartAccount/buildUserOperationFromTxs.js";
export { checkGasSponsorshipEligibility } from "./actions/smartAccount/checkGasSponsorshipEligibility.js";
export { dropAndReplaceUserOperation } from "./actions/smartAccount/dropAndReplaceUserOperation.js";
export { sendTransaction } from "./actions/smartAccount/sendTransaction.js";
export { sendTransactions } from "./actions/smartAccount/sendTransactions.js";
export { sendUserOperation } from "./actions/smartAccount/sendUserOperation.js";
export { waitForUserOperationTransaction } from "./actions/smartAccount/waitForUserOperationTransacation.js";
export { arbitrum, arbitrumGoerli, arbitrumSepolia, base, baseGoerli, baseSepolia, fraxtal, fraxtalSepolia, goerli, mainnet, optimism, optimismGoerli, optimismSepolia, polygon, polygonAmoy, polygonMumbai, sepolia, zora, zoraSepolia, } from "./chains/index.js";
export { createBundlerClient, createBundlerClientFromExisting, } from "./client/bundlerClient.js";
export { bundlerActions } from "./client/decorators/bundlerClient.js";
export { smartAccountClientActions } from "./client/decorators/smartAccountClient.js";
export { isSmartAccountClient } from "./client/isSmartAccountClient.js";
export { ConnectionConfigSchema, SmartAccountClientOptsSchema, } from "./client/schema.js";
export { createSmartAccountClient, createSmartAccountClientFromExisting, } from "./client/smartAccountClient.js";
export { convertChainIdToCoinType, convertCoinTypeToChain, convertCoinTypeToChainId, } from "./ens/utils.js";
export { defaultEntryPointVersion, entryPointRegistry, getEntryPoint, isEntryPointVersion, } from "./entrypoint/index.js";
export { AccountNotFoundError, AccountRequiresOwnerError, BatchExecutionNotSupportedError, DefaultFactoryNotDefinedError, FailedToGetStorageSlotError, GetCounterFactualAddressError, IncorrectAccountType, SignTransactionNotSupportedError, SmartAccountWithSignerRequiredError, UpgradeToAndCallNotSupportedError, UpgradesNotSupportedError, } from "./errors/account.js";
export { BaseError } from "./errors/base.js";
export { ChainNotFoundError, IncompatibleClientError, InvalidRpcUrlError, } from "./errors/client.js";
export { EntryPointNotFoundError, InvalidEntryPointError, } from "./errors/entrypoint.js";
export { InvalidSignerTypeError } from "./errors/signer.js";
export { FailedToFindTransactionError, TransactionMissingToParamError, } from "./errors/transaction.js";
export { InvalidUserOperationError, WaitForUserOperationError, } from "./errors/useroperation.js";
export { LogLevel, Logger } from "./logger.js";
export { middlewareActions } from "./middleware/actions.js";
export { defaultFeeEstimator } from "./middleware/defaults/feeEstimator.js";
export { defaultGasEstimator } from "./middleware/defaults/gasEstimator.js";
export { defaultPaymasterAndData } from "./middleware/defaults/paymasterAndData.js";
export { defaultUserOpSigner } from "./middleware/defaults/userOpSigner.js";
export { noopMiddleware } from "./middleware/noopMiddleware.js";
export { LocalAccountSigner } from "./signer/local-account.js";
export { SignerSchema, isSigner } from "./signer/schema.js";
export { verifyEIP6492Signature, wrapSignatureWith6492, } from "./signer/utils.js";
export { WalletClientSigner } from "./signer/wallet-client.js";
export { split } from "./transport/split.js";
export { AlchemyChainMap, BigNumberishRangeSchema, BigNumberishSchema, ChainSchema, HexSchema, MultiplierSchema, allEqual, applyUserOpFeeOption, applyUserOpOverride, applyUserOpOverrideOrFeeOption, asyncPipe, bigIntMax, bigIntMultiply, bypassPaymasterAndData, bypassPaymasterAndDataEmptyHex, concatPaymasterAndData, deepHexlify, defineReadOnly, filterUndefined, getChain, getDefaultSimpleAccountFactoryAddress, getDefaultUserOperationFeeOptions, isBigNumberish, isMultiplier, isValidRequest, parsePaymasterAndData, pick, resolveProperties, takeBytes, toRecord, } from "./utils/index.js";
//# sourceMappingURL=index.js.map