From 4738715c399e96e8ecf2070ff3e6eda4c31b50da Mon Sep 17 00:00:00 2001 From: Eloi Manuel Date: Wed, 31 May 2023 10:42:57 +0200 Subject: [PATCH] updating comments --- contracts/core/static/StaticOpenfortAccount.sol | 2 +- contracts/core/static/StaticOpenfortFactory.sol | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/contracts/core/static/StaticOpenfortAccount.sol b/contracts/core/static/StaticOpenfortAccount.sol index a366295..add0fb0 100644 --- a/contracts/core/static/StaticOpenfortAccount.sol +++ b/contracts/core/static/StaticOpenfortAccount.sol @@ -8,7 +8,7 @@ import {BaseOpenfortAccount} from "../BaseOpenfortAccount.sol"; * @title StaticOpenfortAccount (Non-upgradeable) * @author Eloi * @notice Minimal smart contract wallet with session keys following the ERC-4337 standard. - * The EntryPoint can be updated via updateEntryPoint() + * The EntryPoint can be updated via updateEntryPoint(). * It inherits from: * - BaseOpenfortAccount */ diff --git a/contracts/core/static/StaticOpenfortFactory.sol b/contracts/core/static/StaticOpenfortFactory.sol index df2d2c7..ba69f1d 100644 --- a/contracts/core/static/StaticOpenfortFactory.sol +++ b/contracts/core/static/StaticOpenfortFactory.sol @@ -10,7 +10,11 @@ import {IBaseOpenfortFactory} from "../../interfaces/IBaseOpenfortFactory.sol"; /** * @title StaticOpenfortFactory (Non-upgradeable) * @author Eloi - * @notice Contract to create account factories + * @notice Contract to create an on-chain factory to deploy new StaticOpenfortAccounts using OpenZeppelin's Clones library. + * As explained by OZ: The Clones library provides a way to deploy minimal non-upgradeable proxies for cheap. + * This can be useful for applications that require deploying many instances of the same contract (for example one per user, or one per task). + * These instances are designed to be both cheap to deploy, and cheap to call. + * The drawback being that they are not upgradeable. * It inherits from: * - IBaseOpenfortFactory */