From 85e3c198493ba498fd9da64bfb0f1a8219ac2242 Mon Sep 17 00:00:00 2001 From: Arr00 <13561405+arr00@users.noreply.github.com> Date: Fri, 20 Dec 2024 16:09:33 -0500 Subject: [PATCH] Remove mention of deleted `unfreeze` function in ERC20Custodian docs (#53) --- contracts/token/ERC20/extensions/ERC20Custodian.sol | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/contracts/token/ERC20/extensions/ERC20Custodian.sol b/contracts/token/ERC20/extensions/ERC20Custodian.sol index a883ed32..cb1fcb7e 100644 --- a/contracts/token/ERC20/extensions/ERC20Custodian.sol +++ b/contracts/token/ERC20/extensions/ERC20Custodian.sol @@ -7,16 +7,15 @@ import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; /** * @dev Extension of {ERC20} that allows to implement a custodian * mechanism that can be managed by an authorized account with the - * {freeze} and {unfreeze} functions. + * {freeze} function. * * This mechanism allows a custodian (e.g. a DAO or a * well-configured multisig) to freeze and unfreeze the balance * of a user. * * The frozen balance is not available for transfers or approvals - * to other entities to operate on its behalf if {freeze} was not - * called with such account as an argument. Similarly, the account - * will be unfrozen again if {unfreeze} is called. + * to other entities to operate on its behalf if. The frozen balance + * can be reduced by calling {freeze} again with a lower amount. */ abstract contract ERC20Custodian is ERC20 { /**