Skip to content
Alchemy Logo

BaseModularAccountV2Implementation

type BaseModularAccountV2Implementation = SmartAccountImplementation<
  typeof entryPoint07Abi,
  "0.7",
  {
    encodeCallData: (callData) => Promise<Hex>;
    formatSignature: (signature) => Promise<Hex>;
    getExecutionData: (selector) => Promise<ExecutionDataView>;
    getValidationData: (args) => Promise<ValidationDataView>;
    prepareSignature: (request) => Promise<SignatureRequest>;
    signerEntity: SignerEntity;
    smartAccountType: "ModularAccountV2";
  },
  boolean
>;

Defined in: packages/smart-accounts/src/ma-v2/accounts/base.ts:73

Was this page helpful?