Type alias Erc7579Actions<TSmartAccount>

Erc7579Actions<TSmartAccount>: {
    accountId: ((args?) => Promise<string>);
    getActiveHook: ((args?) => Promise<Hex>);
    getFallbackBySelector: ((args) => Promise<[Hex, Hex]>);
    getInstalledExecutors: ((args?) => Promise<readonly [readonly Hex[], Hex]>);
    getInstalledValidators: ((args?) => Promise<readonly [readonly Hex[], Hex]>);
    getPreviousModule: ((args) => Promise<Hex>);
    installModule: ((args) => Promise<Hash>);
    installModules: ((args) => Promise<Hash>);
    isModuleInstalled: ((args) => Promise<boolean>);
    supportsExecutionMode: ((args) => Promise<boolean>);
    supportsModule: ((args) => Promise<boolean>);
    uninstallModule: ((args) => Promise<Hash>);
    uninstallModules: ((args) => Promise<Hash>);
}

Type Parameters

  • TSmartAccount extends SmartAccount | undefined

Type declaration

  • accountId: ((args?) => Promise<string>)
      • (args?): Promise<string>
      • Parameters

        Returns Promise<string>

  • getActiveHook: ((args?) => Promise<Hex>)
  • getFallbackBySelector: ((args) => Promise<[Hex, Hex]>)
      • (args): Promise<[Hex, Hex]>
      • Parameters

        Returns Promise<[Hex, Hex]>

  • getInstalledExecutors: ((args?) => Promise<readonly [readonly Hex[], Hex]>)
  • getInstalledValidators: ((args?) => Promise<readonly [readonly Hex[], Hex]>)
  • getPreviousModule: ((args) => Promise<Hex>)
  • installModule: ((args) => Promise<Hash>)
  • installModules: ((args) => Promise<Hash>)
      • (args): Promise<Hash>
      • Parameters

        Returns Promise<Hash>

  • isModuleInstalled: ((args) => Promise<boolean>)
  • supportsExecutionMode: ((args) => Promise<boolean>)
  • supportsModule: ((args) => Promise<boolean>)
  • uninstallModule: ((args) => Promise<Hash>)
  • uninstallModules: ((args) => Promise<Hash>)
      • (args): Promise<Hash>
      • Parameters

        Returns Promise<Hash>