Skip to content

Commit 85e3c19

Browse files
authored
Remove mention of deleted unfreeze function in ERC20Custodian docs (#53)
1 parent 3b93bc3 commit 85e3c19

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

contracts/token/ERC20/extensions/ERC20Custodian.sol

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@ import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
77
/**
88
* @dev Extension of {ERC20} that allows to implement a custodian
99
* mechanism that can be managed by an authorized account with the
10-
* {freeze} and {unfreeze} functions.
10+
* {freeze} function.
1111
*
1212
* This mechanism allows a custodian (e.g. a DAO or a
1313
* well-configured multisig) to freeze and unfreeze the balance
1414
* of a user.
1515
*
1616
* The frozen balance is not available for transfers or approvals
17-
* to other entities to operate on its behalf if {freeze} was not
18-
* called with such account as an argument. Similarly, the account
19-
* will be unfrozen again if {unfreeze} is called.
17+
* to other entities to operate on its behalf if. The frozen balance
18+
* can be reduced by calling {freeze} again with a lower amount.
2019
*/
2120
abstract contract ERC20Custodian is ERC20 {
2221
/**

0 commit comments

Comments
 (0)