@@ -39,7 +39,6 @@ import {
3939import { EIP712 } from "solady/utils/EIP712.sol " ;
4040import { ExcessivelySafeCall } from "excessively-safe-call/ExcessivelySafeCall.sol " ;
4141import { PackedUserOperation } from "account-abstraction/interfaces/PackedUserOperation.sol " ;
42- import { RegistryAdapter } from "./RegistryAdapter.sol " ;
4342import { EmergencyUninstall } from "../types/DataTypes.sol " ;
4443import { ECDSA } from "solady/utils/ECDSA.sol " ;
4544
@@ -51,7 +50,7 @@ import { ECDSA } from "solady/utils/ECDSA.sol";
5150/// @author @filmakarov | Biconomy | [email protected] 5251/// @author @zeroknots | Rhinestone.wtf | zeroknots.eth
5352/// Special thanks to the Solady team for foundational contributions: https://github.com/Vectorized/solady
54- abstract contract ModuleManager is Storage , EIP712 , IModuleManager , RegistryAdapter {
53+ abstract contract ModuleManager is Storage , EIP712 , IModuleManager {
5554 using SentinelListLib for SentinelListLib.SentinelList;
5655 using LocalCallDataParserLib for bytes ;
5756 using ExecLib for address ;
@@ -220,7 +219,6 @@ abstract contract ModuleManager is Storage, EIP712, IModuleManager, RegistryAdap
220219 internal
221220 virtual
222221 withHook
223- withRegistry (validator, MODULE_TYPE_VALIDATOR)
224222 {
225223 if (! IValidator (validator).isModuleType (MODULE_TYPE_VALIDATOR)) revert MismatchModuleTypeId ();
226224 if (validator == _DEFAULT_VALIDATOR) {
@@ -254,7 +252,6 @@ abstract contract ModuleManager is Storage, EIP712, IModuleManager, RegistryAdap
254252 internal
255253 virtual
256254 withHook
257- withRegistry (executor, MODULE_TYPE_EXECUTOR)
258255 {
259256 if (! IExecutor (executor).isModuleType (MODULE_TYPE_EXECUTOR)) revert MismatchModuleTypeId ();
260257 _getAccountStorage ().executors.push (executor);
@@ -280,7 +277,6 @@ abstract contract ModuleManager is Storage, EIP712, IModuleManager, RegistryAdap
280277 internal
281278 virtual
282279 withHook
283- withRegistry (hook, MODULE_TYPE_HOOK)
284280 {
285281 if (! IHook (hook).isModuleType (MODULE_TYPE_HOOK)) revert MismatchModuleTypeId ();
286282 address currentHook = _getHook ();
@@ -318,7 +314,6 @@ abstract contract ModuleManager is Storage, EIP712, IModuleManager, RegistryAdap
318314 internal
319315 virtual
320316 withHook
321- withRegistry (handler, MODULE_TYPE_FALLBACK)
322317 {
323318 if (! IFallback (handler).isModuleType (MODULE_TYPE_FALLBACK)) revert MismatchModuleTypeId ();
324319 // Extract the function selector from the provided parameters.
@@ -373,7 +368,6 @@ abstract contract ModuleManager is Storage, EIP712, IModuleManager, RegistryAdap
373368 internal
374369 virtual
375370 withHook
376- withRegistry (preValidationHook, preValidationHookType)
377371 {
378372 if (! IModule (preValidationHook).isModuleType (preValidationHookType)) revert MismatchModuleTypeId ();
379373 address currentPreValidationHook = _getPreValidationHook (preValidationHookType);
0 commit comments