Add missing hook to ERC777, fix relevant documentation (#2191)

* Improve ERC20/721 Pausable docs

* Add ERC20Pausable mint and burn tests

* Add ERC721Pausable mint and burn tests

* Add _beforeTransfer hook in ERC777 to mint and burn
This commit is contained in:
Nicolás Venturo
2020-04-15 17:58:24 -03:00
committed by GitHub
parent b6513f6ad7
commit 3e139baa50
6 changed files with 96 additions and 6 deletions

View File

@ -4,8 +4,7 @@ import "./ERC20.sol";
import "../../utils/Pausable.sol";
/**
* @title Pausable token
* @dev ERC20 with pausable transfers and allowances.
* @dev ERC20 token with pausable token transfers, minting and burning.
*
* Useful for scenarios such as preventing trades until the end of an evaluation
* period, or having an emergency switch for freezing all token transfers in the