Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove mention of deleted unfreeze function in ERC20Custodian docs #53

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions contracts/token/ERC20/extensions/ERC20Custodian.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand Down
Loading