diff --git a/src/libraries/AccountStorageV1.sol b/src/libraries/AccountStorageV1.sol index 3eaba2aa4..576cf6f71 100644 --- a/src/libraries/AccountStorageV1.sol +++ b/src/libraries/AccountStorageV1.sol @@ -20,8 +20,9 @@ contract AccountStorageV1 { mapping(address => PluginData) pluginData; // Execution functions and their associated functions mapping(bytes4 => SelectorData) selectorData; + // bytes24 key = address(calling plugin) || bytes4(selector of execution function) mapping(bytes24 => bool) callPermitted; - // key = address(calling plugin) || target address + // keys = address(calling plugin), target address mapping(IPlugin => mapping(address => PermittedExternalCallData)) permittedExternalCalls; // For ERC165 introspection, each count indicates support from account or an installed plugin // 0 indicate the account does not support the interface and all plugins that support this interface have