@@ -78,8 +78,8 @@ interface IModularAccount {
7878 /// @notice Install a module to the modular account.
7979 /// @param module The module to install.
8080 /// @param manifest the manifest describing functions to install
81- /// @param moduleInstallData Optional data to be decoded and used by the module to setup initial module data
82- /// for the modular account .
81+ /// @param moduleInstallData Optional data to be used by the account to handle the initial execution setup,
82+ /// data encoding is implementation-specific .
8383 function installExecution (
8484 address module ,
8585 ExecutionManifest calldata manifest ,
@@ -91,10 +91,10 @@ interface IModularAccount {
9191 /// @dev This does not validate anything against the manifest - the caller must ensure validity.
9292 /// @param validationConfig The validation function to install, along with configuration flags.
9393 /// @param selectors The selectors to install the validation function for.
94- /// @param installData Optional data to be decoded and used by the module to setup initial module state.
95- /// @param hooks Optional hooks to install, associated with the validation function. These may be
96- /// pre validation hooks or execution hooks. The expected format is a bytes25 HookConfig, followed by the
97- /// install data, if any .
94+ /// @param installData Optional data to be used by the account to handle the initial validation setup, data
95+ /// encoding is implementation-specific.
96+ /// @param hooks Optional hooks to install and associate with the validation function, data encoding is
97+ /// implementation-specific .
9898 function installValidation (
9999 ValidationConfig validationConfig ,
100100 bytes4 [] calldata selectors ,
@@ -104,11 +104,10 @@ interface IModularAccount {
104104
105105 /// @notice Uninstall a validation function from a set of execution selectors.
106106 /// @param validationFunction The validation function to uninstall.
107- /// @param uninstallData Optional data to be decoded and used by the module to clear module data for the
108- /// account.
109- /// @param hookUninstallData Optional data to be used by hooks for cleanup. If any are provided, the array must
110- /// be of a length equal to existing pre validation hooks plus execution hooks. Hooks are indexed by
111- /// pre validation hook order first, then execution hooks.
107+ /// @param uninstallData Optional data to be used by the account to handle the validation uninstallation, data
108+ /// encoding is implementation-specific.
109+ /// @param hookUninstallData Optional data to be used by the account to handle hook uninstallation, data
110+ /// encoding is implementation-specific.
112111 function uninstallValidation (
113112 ModuleEntity validationFunction ,
114113 bytes calldata uninstallData ,
@@ -118,8 +117,8 @@ interface IModularAccount {
118117 /// @notice Uninstall a module from the modular account.
119118 /// @param module The module to uninstall.
120119 /// @param manifest the manifest describing functions to uninstall.
121- /// @param moduleUninstallData Optional data to be decoded and used by the module to clear module data for the
122- /// modular account .
120+ /// @param moduleUninstallData Optional data to be used by the account to handle the execution uninstallation,
121+ /// data encoding is implementation-specific .
123122 function uninstallExecution (
124123 address module ,
125124 ExecutionManifest calldata manifest ,
0 commit comments