From d6fc8f60b34bb92e8e468c220cc0e5d98f496fd8 Mon Sep 17 00:00:00 2001 From: Evgenii Zaitsev Date: Thu, 29 Aug 2024 14:30:58 +0700 Subject: [PATCH] docs: add a comment about the previous name of a function --- contracts/base/ERC20Freezable.sol | 1 + contracts/base/interfaces/IERC20Freezable.sol | 2 ++ 2 files changed, 3 insertions(+) diff --git a/contracts/base/ERC20Freezable.sol b/contracts/base/ERC20Freezable.sol index c7a5351..87b56e9 100644 --- a/contracts/base/ERC20Freezable.sol +++ b/contracts/base/ERC20Freezable.sol @@ -77,6 +77,7 @@ abstract contract ERC20Freezable is ERC20Base, IERC20Freezable { * @dev The contract must not be paused * @dev Can only be called by the owner * @dev Each freezer from the array must not be already have the provided status + * @dev NOTE: The previous function name was: `configureFreezers()` */ function configureFreezerBatch( address[] calldata freezers, // Tools: this comment prevents Prettier from formatting into a single line. diff --git a/contracts/base/interfaces/IERC20Freezable.sol b/contracts/base/interfaces/IERC20Freezable.sol index aa06cdb..bf21051 100644 --- a/contracts/base/interfaces/IERC20Freezable.sol +++ b/contracts/base/interfaces/IERC20Freezable.sol @@ -53,6 +53,8 @@ interface IERC20Freezable { * * Emits a {FreezerRemoved} event for each removed freezer * + * NOTE: The previous function name was: `configureFreezers()` + * * @param freezers The array of freezer addresses to configure * @param status The new status of the freezers: `true` is to assign freezers, `false` is to remove freezers */