Skip to content

Commit

Permalink
Update contracts/token/ERC20/extensions/ERC20Pausable.sol
Browse files Browse the repository at this point in the history
Co-authored-by: Francisco <fg@frang.io>
  • Loading branch information
ernestognw and frangio authored Jan 28, 2023
1 parent 3ec0716 commit dd9108a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contracts/token/ERC20/extensions/ERC20Pausable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import "../../../security/Pausable.sol";
* period, or having an emergency switch for freezing all token transfers in the
* event of a large bug.
*
* WARNING: Using it requires securely exposing and adding access control to both
* {Pausable-_pause} and {Pausable-_unpause} internal functions since {Pausable} is
* intended to be used through inheritance. This is done in order to allow both
* {AccessControl} and {Ownable} pause restriction mechanisms. Not doing so will
* IMPORTANT: This contract does not include public pause and unpause functions. In
* addition to inheriting this contract, you must define both functions, invoking the
* {Pausable-_pause} and {Pausable-_unpause} internal functions, with appropriate
* access control, e.g. using {AccessControl} or {Ownable}. Not doing so will
* make the contract unpausable.
*/
abstract contract ERC20Pausable is ERC20, Pausable {
Expand Down

0 comments on commit dd9108a

Please sign in to comment.